[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: How to sort attribute?

Subject: Re: How to sort attribute?
From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: 15 Aug 2005 05:53:04 +0100
xerces sort attributes
>>>>> "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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.