swirl Guide to OmniMark 5   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesOMX VariablesErrors
 
     
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 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 [ INDEX ] [ CONCEPTS ] [ TASKS ] [ SYNTAX ] [ LIBRARIES ] [ OMX ] [ OMX ] [ ERRORS ]

Generated: August 11, 2000 at 3:07:04 pm
If you have any comments about this section of the documentation, send email to docerrors@omnimark.com

Copyright © OmniMark Technologies Corporation, 1988-2000.