[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: How to store a sequence into an element ... and m
> I think that, using a schema (for input & output documents) for an XSLT transformation, in general is very useful. The main benefit is, I think, stronger type checking of XML input/output data, which reveals many error early during an XSLT transformation cycle. Indeed. But although it gives you a wider range of data types than just strings -- it's fine for a sequence of integers or a date -- it's still restricted. For example there's no way you can hold a function as an attribute of an element node, because (a) functions aren't recognized as an XSD data type, and (b) they can't be represented as strings. This lack of orthogonality in the XDM model is a constant pain when you're doing applications like the XSLT-in-XSLT compiler that we wrote for Saxon-JS, or the XSD-validator-in-XSLT that I've published details of but never released as a finished product. Michael Kay
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|