swirl
Guide to OmniMark 7   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
Prerequisite Concepts      

SGML declaration: general delimiters NESTC and HCRO

In your SGML documents or your DTD, within your SGML declaration, you can use the general delimiters NESTC and HCRO. NESTC stands for "NET-enabling start-tag close". NET stands for "Null End Tag". HCRO stands for "Hex Character Reference Open" delimiter.

You use the NESTC, or NET-enabling start-tag close, to close start tags and enable null end tags. For example: delim nestc "/" specifies the use of "/" as the close of a start tag for an element that can end with a Null End Tag.

In combination with the example above, you could define the Null End Tag as follows: delim net ">"

Then you could enter an empty element tag EMPTY with only a start tag, as follows: <empty/>

You use the HCRO, or Hex Character Reference Open delimiter, to open hex character references.

For example: delim hcro "&#x" specifies the use of &#x as the delimiter for a hex character.

For the example above, you would mark two hex character elements as follows:

&#x21 &#x>BG09A0

These general delimiters were specified in the SGML TC 2 (Technical Corrigendum #2).

These two general delimiters are not recognized unless they are defined in an SGML declaration. If NESTC is defined, then it is used, instead of a Null End Tag, at the end of a start tag that enables a NET end tag. If HCRO is defined, then hexadecimal numeric character references are allowed wherever decimal numeric character references are allowed.

Prerequisite Concepts
     Markup rules
 
   
 

Top [ INDEX ] [ CONCEPTS ] [ TASKS ] [ SYNTAX ] [ LIBRARIES ] [ LEGACYLIBRARIES ] [ ERRORS ]

OmniMark 7.1.2 Documentation Generated: June 28, 2005 at 5:44:42 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © Stilo Corporation, 1988-2005.