|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: schema-1 (was something about keys, a long while a
David Carlisle wrote:
For us, just being able to code a simple "typed" match without jumping through any syntactical hoops would certainly make the XSL easier to understand and write. No, and I can try to help! While I think that powerful and expressive schema languages are a progress, I also think that imposing them would be a regression. Schema languages are not that new and I am still thinking that one of the main progresses of XML over SGML is that DTDs are no longer mandatory! And I think that it's important to make sure we can continue to perform XSLT transformations without defining first a schema.
No, and there could also be less disruptive ways of implementing this. A schema validation, especially when it's creating a PSVI is nothing more than a transformation and instead of creating all this new APIs and complexity, I would have prefered if the W3C had used the existing infoset information items. The datatype, for instance, could have been considered (at least for elements) as a xsi:type attribute added by the validation. If it had been the case, matching all elements of type foo:date would just have been a match="*[@xsi:type='foo:date']" (with the issue of supporting QNames in XPath/XSLT which needs to be fixed anyway). The case of attributes would have been more touchy (maybe the attributes were really a bad idea in XML, after all) but I am convinced we could find a way to express the PSVI by adding elements and attributes in a specific namespace instead of creating new information items... Eric David
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|

Cart








