[Mirrored from: http://www.omnimark.com:80/resources/white/dec/annex0001.html]

Home Website Table of Contents
     Resources
          White Papers


Understanding The SGML Declaration

Understanding The SGML Declaration


[Previous Chapter Chapter] [Table of Contents]


A. A Template of the SGML Declaration

The following is a "template" of the SGML Declaration. It is intended to be used as a quick reference for use when writing or modifying an SGML Declaration.

"{" and "}" are used for grouping; "+", "*", "?" and "|" are used as in the ISO 8879; upper-case names and the delimiters "<!" and ">" must be entered as given; and lower-case names represent the corresponding SGML object.

<!SGML minimum-literal
      CHARSET
             { BASESET minimum-literal
               DESCSET
                    { number number number |
                      number number minimum-literal |
                      number number UNUSED }+ }+
             { CAPACITY PUBLIC minimum-literal |
               CAPACITY SGMLREF
                    { TOTALCAP  number |
                      ENTCAP    number |
                      ENTCHCAP  number |
                      ELEMCAP   number |
                      GRPCAP    number |
                      EXGRPCAP  number |
                      EXNMCAP   number |
                      ATTCAP    number |
                      ATTCHCAP  number |
                      AVGRPCAP  number |
                      NOTCAP    number |
                      NOTCHCAP  number |
                      IDCAP     number |
                      IDREFCAP  number |
                      MAPCAP    number |
                      LKSETCAP  number |
                      LKNMCAP   number }+ }
      SCOPE { DOCUMENT | INSTANCE }
            { SYNTAX PUBLIC minimum-literal
                { SWITCHES {number number}+ }? |
      SYNTAX
           SHUNCHAR { NONE | CONTROLS {number}* | {number}+ }
           { BASESET minimum-literal
                 { number number number |
                   number number minimum-literal |
                   number number UNUSED }+ }+
      FUNCTION
           RE number
           RS number
           SPACE number
           { name { FUNCHAR | MSICHAR | MSOCHAR | MSSCHAR |
                    SEPCHAR } number }*
      NAMING
           LCNMSTRT     parameter-literal
           UCNMSTRT     parameter-literal
           LCNMCHAR     parameter-literal
           UCNMCHAR     parameter-literal
           NAMECASE GENERAL { NO | YES }
                    ENTITY  { NO | YES }
      DELIM
            GENERAL SGMLREF
               { AND        parameter-literal |
                 COM        parameter-literal |
                 CRO        parameter-literal |
                 DSC        parameter-literal |
                 DSO        parameter-literal |
                 DTGC       parameter-literal |
                 DTGO       parameter-literal |
                 ERO        parameter-literal |
                 ETAGO      parameter-literal |
                 GRPC       parameter-literal |
                 GRPO       parameter-literal |
                 LIT        parameter-literal |
                 LITA       parameter-literal |
                 MDC        parameter-literal |
                 MDO        parameter-literal |
                 MINUS      parameter-literal |
                 MSC        parameter-literal |
                 NET        parameter-literal |
                 OPT        parameter-literal |
                 OR         parameter-literal |
                 PERO       parameter-literal |
                 PIC        parameter-literal |
                 PIO        parameter-literal |
                 PLUS       parameter-literal |
                 REFC       parameter-literal |
                 REP        parameter-literal |
                 RNI        parameter-literal |
                 SEQ        parameter-literal |
                 STAGO      parameter-literal |
                 TAGC       parameter-literal |
                 VI         parameter-literal }*
            SHORTREF { SGMLREF | NONE }
                     { parameter-literal }*
      NAMES SGMLREF
               { ANY        name |
                 ATTLIST    name |
                 CDATA      name |
                 CONREF     name |
                 CURRENT    name |
                 DEFAULT    name |
                 DOCTYPE    name |
                 ELEMENT    name |
                 EMPTY      name |
                 ENDTAG     name |
                 ENTITIES   name |
                 ENTITY     name |
                 FIXED      name |
                 ID         name |
                 IDLINK     name |
                 IDREF      name |
                 IDREFS     name |
                 IGNORE     name |
                 IMPLIED    name |
                 INCLUDE    name |
                 INITIAL    name |
                 LINK       name |
                 LINKTYPE   name |
                 MD         name |
                 MS         name |
                 NAME       name |
                 NAMES      name |
                 NDATA      name |
                 NMTOKEN    name |
                 NMTOKENS   name |
                 NOTATION   name |
                 NUMBER     name |
                 NUMBERS    name |
                 NUTOKEN    name |
                 NUTOKENS   name |
                 O          name |
                 PCDATA     name |
                 PI         name |
                 POSTLINK   name |
                 PUBLIC     name |
                 RCDATA     name |
                 REQUIRED   name |
                 RESTORE    name |
                 SDATA      name |
                 STARTTAG   name |
                 SUBDOC     name |
                 SYSTEM     name |
                 TEMP       name |
                 SHORTREF   name |
                 SIMPLE     name |
                 USELINK    name |
                 USEMAP     name }*
      QUANTITY SGMLREF
               { ATTCNT     number |
                 ATTSPLEN   number |
                 BSEQLEN    number |
                 DTAGLEN    number |
                 DTEMPLEN   number |
                 ENTLVL     number |
                 GRPCNT     number |
                 GRPGTCNT   number |
                 GRPLVL     number |
                 LITLEN     number |
                 NAMELEN    number |
                 NORMSEP    number |
                 PILEN      number |
                 TAGLEN     number |
                 TAGLVL     number }*
      FEATURES
          MINIMIZE
               DATATAG      { NO | YES }
               OMITTAG      { NO | YES }
               RANK         { NO | YES }
               SHORTTAG     { NO | YES }
          LINK
               SIMPLE       { NO | YES number }
               IMPLICIT     { NO | YES }
               EXPLICIT     { NO | YES number }
          OTHER
               CONCUR       { NO | YES number }
               SUBDOC       { NO | YES number }
               FORMAL       { NO | YES }
      APPINFO { NONE | minimum-literal }
>

[Next Annex] [Table of Contents]

[Home][Contact Omnimark][Website Feedback][Sample Software]
©Copyright Omnimark Technologies Corporation, 1996. All rights reserved. Website Table of Contents