Adobe 65030365 Developer's Guide - Page 32
Elements, A General Comparison of Markup and FrameMaker Documents, document type, declaration subset
UPC - 883919170923
View all Adobe 65030365 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 32 highlights
3 Elements Before its document instance, a markup document always includes either all the declarations or a reference to them. Rather than requiring that all of the declarations in a DTD be included in each markup document, the XML and SGML standards allow for the declarations to be stored separately and referenced from the document. The document type declaration in such a document includes the set of declarations stored separately by referring to them as an external entity. A typical document type declaration has the form: For XML, a document type declaration can have the form: In these examples, name is the document type name and extid is the external identifier of an entity that consists of a list of declarations. For XML, URL refers to the location of the external declarations on the internet. Important: When reading and writing XML data, FrameMaker ignores the URL statement in the document type declaration. In FrameMaker, the structure application can include a specific DTD, or it can use a map to resolve the public identifier for the DTD on your system. The declarations in the external entity are treated as though they appeared at the end of internal_declarations. The declarations that actually appear in internal_declarations are read before the ones in the external entity. Together, the declarations in the external entity and in internal_declarations are the document type declaration subset of the DTD. There is an informal practice in the SGML community of using the term external DTD subset to refer to this external entity and using the term internal DTD subset to refer to the declarations shown here as internal_declarations. In most places in this manual that use the term DTD, it can refer to either a complete DTD or to an external DTD subset. In the few places where the distinction matters, the manual clarifies which one is meant. Elements In both markup data and in FrameMaker, the basic building blocks of documents are elements. Elements hold pieces of a document's content (its text, graphics, and so on) and together make up the document's structure. FrameMaker distinguishes among several specific element types, corresponding to special FrameMaker document objects such as tables or cross-references. Markup does not make such a distinction. A General Comparison of Markup and FrameMaker Documents 14