Simple file storage

The simplest way to manage XML documents is to store them in a fixed location within the file system. In the example below, the main documents are stored in the 'docs' directory, common text entities are stored in the 'entity' directory and image entities are stored in the 'images' directory. Necessary configuration files, such as the DTD and character entity lists, are stored in the 'config' directory:

\work\xml\docs\X123456.xml
               X123457.xml
               X123458.xml
         \entity\disclaim.xml
                 rights.xml
         \images\0001.tif
                 0002.tif
                 0003.tif
         \config\article.dtd
                 isolat1.ent
                 isogrk1.ent

Weaknesses

The operating system is designed to be a suitable storage manager for document files of any data format, including XML files, and standard features of ...

Get XML Companion, The, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.