Design principles in XML part 2
April 24th, 2009
These goals have helped to shape a set of principles that are central to the effective use of XML. Although XML has certainly not invented these principles, it makes them more easy to apply.
We will look at these principles before examining the XML standard itself, in order to keep in mind the strategy we develop through the book.
XML functions on the basis of a number of key principles:
- Separation of form and content
- Authoring of documents within a constrained or ‘bridled’ structure, often referred to as a ‘schema’
- Storage of structure, labelling and content in clear text rather than binary format, and created according to an agreed standard
- ‘Semantic’ labelling of content ‘chunks’
- ‘Keys’ to understanding the labelling accessible to all
- The entirety of the rules regarding the structure of a text or document type, as well as additional functions including further processing, linking and management, should themselves be written in XML These goals have helped to shape a set of principles that are central to the effective use of XML. Although XML has certainly not invented these principles, it makes them moreeasy to apply. We will look at these principles before examining the XML standard itself, in order to keep in mind the strategy we develop through the book.XML functions on the basis of a number of key principles:
- Separation of form and content
- Authoring of documents within a constrained or ‘bridled’ structure, often referred to as a ‘schema’
- Storage of structure, labelling and content in clear text rather than binary format, andcreated according to an agreed standard
- ‘Semantic’ labelling of content ‘chunks’
- ‘Keys’ to understanding the labelling accessible to all
- The entirety of the rules regarding the structure of a text or document type, as well asadditional functions including further processing, linking and management, shouldthemselves be written in XML