[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: Schemas in XSLT 2.0 (Was: Re: [xsl] keys and idrefs - XSLT2 request?)


Subject: Re: Schemas in XSLT 2.0 (Was: Re: [xsl] keys and idrefs - XSLT2 request?)
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 16 Oct 2001 00:30:20 +0100



   Perhaps it's just the Lisp programmer in me but the metacircularity
   asthetic seems to me to suggest that one should be able to write an
   XSLT transformation which can validate a document against a schema.
   If one can't then the language is either insufficiently powerful or
   has be fettered or crippled in some inappropriate way.


you probably could for the structural part of schema (cf schematron)
ie the "complex" types  but you can't really support the "simple" datatypes 
without extending XSLT as that requires (at least) regexp support, 
date handling and other primitive operations that certainly you could in
theory code in XSLT but you don't really want to.

See Francis Norton's post earlier today (or rather yesterday now)

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords