Subject: Re: [xsl] XSLT and XML Schema|
From: Kamal Bhatt <kbhatt@xxxxxxxxx>
Date: Thu, 14 Jun 2007 08:40:59 +1000
I agree with this statement. I do XSD processing in XSLT (to validate the XSD against internal standards) and I find it challenging and sometimes painful.Well, in principle an XML Schema document is XML so you can use it as an input to your stylesheet. But it's not easy to process unless you know the coding standards that have been followed, because there are many different ways of writing equivalent schemas. The next Saxon release will offer an "predigested" XML representation of the schema component model that aims to help with that.
Incidentally, attributes should be regarded as unordered: the concept of
"the third attribute" is not very meaningful.
Michael, Can you further elaborate on the changes to Saxon you mentioned above?
-- Kamal Bhatt