GNU Info

Info Node: (psgml.info)Using a Split Document

(psgml.info)Using a Split Document


Next: Inserting a DOCTYPE Prev: Precompiled DTD Subsets Up: Managing the DTD
Enter node , (file) or (file)node

Using a Split Document
======================

   You can have the `DOCTYPE' declaration in another file by setting
`sgml-doctype' to the other file.

 - User Option: sgml-parent-document
     Used when the current file is part of a bigger document.

     The variable describes how the current file's content fit into the
     element hierarchy.  The variable should have the form

          (PARENT-FILE CONTEXT-ELEMENT* TOP-ELEMENT (HAS-SEEN-ELEMENT*)?)

    PARENT-FILE
          is a string, the name of the file containing the document
          entity.

    CONTEXT-ELEMENT
          is a string, that is the name of an element type.  It can
          occur 0 or more times and is used to set up exceptions and
          short reference map.  Good candidates for these elements are
          the elements open when the entity pointing to the current
          file is used.

    TOP-ELEMENT
          is a string that is the name of the element type of the top
          level element in the current file.  The file should contain
          one instance of this element, unless the last (lisp) element
          of sgml-parent-document is a list.  If it is a list, the top
          level of the file should follow the content model of
          top-element.

    HAS-SEEN-ELEMENT
          is a string that is the name of an element type.  This
          element is satisfied in the content model of top-element.


automatically generated by info2www version 1.2.2.9