3 replies
by jasoncfoster
I find that context in an XML document is as important as the data. That's the beauty of XML as a communication vehicle. Therefore, I would disagree with the removal of the container as described in the first tip.
I've worked with XML documents representing order information that were quite large. Containers were extremely important for readability even if they didn't supply additional information with attributes. It would have been very difficult to follow a document if all of the child elements were directly under the root element.
XPath into the nodelist would have been smaller, but the logical constructs that containers provide made the XPath simpler.
by dhrustar
by dhrustar
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending