This section covers typographic conventions and the format used for XML structure diagrams. Typographic Conventions
XML Schema/DTD DiagramsIn a number of places in the book, we need to describe the structure of specific XML formats (based on either DTDs or XML schemas). We've chosen to use a simplified diagram format to show these XML structures graphically. This format is described in the key in Figure P-1. Figure P-1. Key to XML structure diagramsFigure P-2 shows a sample XML structure diagram. Here is sample XML data that follows this structure: <xyz-component> . . . <component-detail> <comp-name>Name</comp-name> </component-detail> <param> <param-name>param1</param-name> <param-value>value1</param-value> <param-value>value2</param-value> </param> . . . </xyz-component> Figure P-2. XML structure diagramNote that these XML diagrams are simplified and don't describe all aspects of XML schemas or DTDs. They do not include element attributes, for example, nor do they describe element sequence constraints in XML schemas. They are meant to provide a high-level view of the XML structure only. For precise details, the corresponding DTD or schema should be consulted. |