One of the things you frequently have to do when working with real-world XML content is process multiple related XML documents. An example is processing Office Open content (better known as Microsoft Office documents). A single Office Open document (like a .docx
file) consists of many closely related XML (and other) documents. All are packed inside the .docx
(or .xlsx
or .pptx
or …) file, that is actually a zip file. A simple but surprisingly effective construction for working with this is to wrap all content in a standardized “XML container” format. This enormously simplifies reading, processing and writing. (more…)
Advertisements