[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ordering of XML elements
- From: Bob DuCharme <bob@udico.com>
- To: Bill Van Valkenburgh <billv@firstlogic.com>, xml-dev@lists.xml.org
- Date: Thu, 07 Jun 2001 13:28:43 -0400
> 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.