"John" == John Li <johnli121(_at_)163(_dot_)com> 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
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--