Actually ... I dont know where this is explicitly defined for XML
itself ... although it is explicitly defined for INFOSET http://www.w3.org/TR/xml-infoset/ "An ordered list of child information items, in document order." As well as for XPATH http://www.w3.org/TR/xpath/ ... " nodes that are after the context node in document order is a forward axis. " And with XDM http://www.w3.org/TR/xpath-datamodel/#document-order "[Definition: Document order is stable, which means that the relative order of two nodes will not change during the processing of a given query or transformation, even if this order is implementation-dependent.]" ------------------------- David A. Lee dlee@calldei.com http://www.calldei.com http://www.xmlsh.org On 3/8/2010 11:11 AM, David wrote: 4B952197.1080803@calldei.com" type="cite"> Unless you do something in the middle that mixes them up, a compliant serializer and parser must preserve element document order. |