contentsconceptssyntaxlibrariessampleserrorsindex
Full text search
built-in variable   current dtd    
     

Purpose

Used to select the current DTD. This can only be used when there clearly is a currently active DTD in a markup processor rule other than document-start or document-end, or in the body of a do sgml-parse or do xml-parse.

The current DTD does not necessarily have to be an item on the sgml-dtds or xml-dtds shelf, as it can be established by:

This example shows how you can select the current DTD using current dtd:

  element #implied when attribute source is specified
     ; attribute "source" is a #conref attribute
     do sgml-parse instance with document-element "%q"
     ; reparse current element
        with current dtd
        scan file "%ev(source)"
     output "%c"
     done

     
----  

Top [CONTENTS] [CONCEPTS] [SYNTAX] [LIBRARIES] [SAMPLES] [ERRORS] [INDEX]

Generated: April 21, 1999 at 2:01:03 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © OmniMark Technologies Corporation, 1988-1999.