20.3. Content We know that formally the content of an element is what occurs between the start-tag and the end-tag. Therefore, the content of a document is what occurs between the first start-tag and the last end-tag of the document. So when people say that "XML separates content from presentation", they really mean that XML lets you separate abstract data (in the document) from rendition information (in a stylesheet). When they say "an XML document has content and structure", they mean it has data and structure. People also refer to "content" or "XML content" as a commodity: "Our website has dynamic, involving, interactive, rich, multimedia XML content". We do that as well in this book when the context is clear (but without the adjectives!). Some people not us also use the term "content" when making a principled distinction between data intended for people ("content") and data intended for machines ("data"). |