contentsconceptssyntaxlibrariessampleserrorsindex
Full text search
SGML Open Catalog: example document illustrating the use of notations  
Introduction: SGML Open Catalog library examples  

Sample

  <!--
   Copyright, (C) 1998 by OmniMark Technologies Corporation
   All Rights Reserved

   Example document to illustrate use of notations with SGML Open Catalog

   See notation.xom for more information
  -->
  <!DOCTYPE notex [
  <!entity % doc "notex">
  <!element %doc O O (part|outside)+>
  <!notation note1 PUBLIC "-//LOCAL//NOTATION Public1 //EN">
  <!notation note2 system "system2">
  <!notation note3 system "system3">
  <!notation note4 PUBLIC "-//LOCAL//NOTATION Public4 //EN">
  <!element part - O (#PCDATA)>
  <!element outside - O CDATA>
  <!-- define a notation attribute that will be picked up in an entity rule -->
  <!attlist outside datatype notation (note1|note2|note3|note4) note1>
  <!-- define entities that will be picked up by external-data-entity rule -->
  <!entity cdat SYSTEM "entity1.sys" CDATA note1>
  <!entity ndat SYSTEM "entity2.sys" NDATA note2>
  <!entity sdat SYSTEM "entity3.sys" SDATA note3>
  <!entity not4 SYSTEM "entity4.sys" SDATA note4>
  <!entity sdoc SYSTEM "entity4.sys" SUBDOC>
  ]>
  <PART>External CDATA entity &cdat;
  <PART>External NDATA entity &ndat;
  <PART>External SDATA entity &sdat;
  <PART>External SDATA entity &not4;
  <PART>External SUBDOC entity &sdoc;
  <OUTSIDE note1>part5

 
----  

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

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

Copyright © OmniMark Technologies Corporation, 1988-1999.