|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: How to sort attribute?
>>>>> "John" == John Li <johnli121@xxxxxxx> writes:
John> "... ... is canonical in the sense that within each child
John> element of the root, the attributes are sorted
John> lexicographically, and then those elements are sorted
John> lexicographically with respect to the element names and
John> attribute values."
John> If xerces or xalan cannot do it, that will be a big trouble
John> for me.
If you want Canonical XML, then it's not the parser (xerces) that need concern
you, but the serializer.
You will need to write your own XSLT serializer - I don't know whether
or not xalan supports this.
In such a case, there is no need for a sort step at all.
--
Colin Adams
Preston Lancashire
|
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








