This month, I'd like to take this one step further. I'll also show you how to navigate from an XML node to the schema that defines it in order to gather pertinent information about that node. The December article contained some XML data concerning classes, teachers, and students. Although the XML document was not extremely lengthy, it very well could have been.
Large documents can become cumbersome and can take a long time to download.
Now, you may have to endure this hit if the client needs all of the information within the document. However, much of the time, the data that is being viewed on the client will be a small fraction of the entire data set. This document contains the data for only three classes, two teachers, and seven students. In a true scenario, these numbers would probably be much larger. In order to serve the client only the information from this document that the user needs, we must divide the document into chunks.