This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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





   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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]