OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ordering of XML elements



> Does the XML specification say
> that the order of elements with equivalent names is significant?

XML provides a way to order elements by element type (e.g. if element w has
children z, y, and x, to specify that they're always in that order) but
provides no way to order elements of the same type by their content.

If you really want to order elements of the same type, XSLT provides ways to
sort XML elements by content in the transformation of one XML document into
another.

Bob DuCharme            www.snee.com/bob             <bob@
snee.com>      see http://www.snee.com/bob/xsltquickly for
info on new book "XSLT Quickly" from Manning Publications.