Is the order that elements of a common parent appear in XML a meaningful piece of data captured by the XML document, or is order not specified as being meaningful? For examp
http://www.ibm.com/developerworks/xml/library/x-eleord.html
Maybe the discussion in the article will help to answer your question. Since your question is somewhat open, I am not sure if it covers you concerns.