cjard
Well-known member
- Joined
- Apr 25, 2006
- Messages
- 7,081
- Programming Experience
- 10+
I recently had to make a case that we should never rely on the order of appearance of tags in an XML document to have any significant or special meaning. I was basing my argument on the fact that we cannot be sure in what order a document will be parsed (breadth/depth first or even forwards/backwards) thus to say "the first Person tag must be the husband, the second must be the wife" is a foolish thing to do with XML.
Does anyone else hold this notion, that without an attribute indicating some kind of sequence, we must never regard the top-down order to mean anything?
Does anyone else hold this notion, that without an attribute indicating some kind of sequence, we must never regard the top-down order to mean anything?