home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 79 / IOPROG_79.ISO / soft / Tools / XMLSPYEnt2004 / XMLSPYEntComplete2004.exe / Data1.cab / _798A873C25BC480EABD44822985E7B5D < prev    next >
Encoding:
Text File  |  2003-07-30  |  5.8 KB  |  168 lines

  1. <!-- NCX 1.1.0 DTD  2002-02-27 
  2. file: ncx110.dtd                                 
  3.  
  4.   Authors: Mark Hakkinen, George Kerscher, Tom McLaughlin, James Pritchett, and Michael Moodie
  5.   Change list:
  6.   2002-02-12 M. Moodie. Changed content model of navLabel element to eliminate ambiguity.
  7.   2002-02-27 M. Moodie. Grammatical changes suggested by editor.
  8.            
  9.   Description:
  10.                                                   
  11.   NCX (Navigation Control for XML applications) is a generalized navigation definition DTD for application
  12. to Digital Talking Books, eBooks, and general web content models.                                                
  13. This DTD is an XML application that layers navigation functionality on top of SMIL 2.0  content.                                       
  14.   
  15.   The NCX defines a navigation path/model that may be applied upon existing publications,
  16. without modification of the existing publication source, so long as the navigation targets within
  17. the source publication can be directly referenced via a URI.                      
  18.                  
  19. -->
  20.    
  21. <!-- The following identifiers apply to this DTD:
  22.     "-//NISO//DTD ncx v1.1.0//EN"
  23.     "http://www.loc.gov/nls/z3986/v100/ncx110.dtd"
  24. -->
  25.  
  26. <!-- Basic Entities -->
  27.  
  28. <!ENTITY % i18n 
  29.   "lang        NMTOKEN        #IMPLIED
  30.   dir        (ltr|rtl)    #IMPLIED" >
  31.  
  32. <!ENTITY % SMILtimeVal    "CDATA" >
  33. <!ENTITY % uri        "CDATA" >
  34. <!ENTITY % script    "CDATA" >
  35.  
  36. <!-- ELEMENTS -->
  37.  
  38. <!-- Top Level NCX Container. -->
  39. <!ELEMENT ncx (head, docTitle, docAuthor*, navMap, navList*)>
  40. <!ATTLIST ncx 
  41.   version     CDATA     #FIXED "1.1.0"
  42.   %i18n;
  43. >
  44.  
  45. <!-- Document Head - Contains all NCX metadata.  
  46. -->
  47.  
  48. <!ELEMENT head (smilCustomTest | meta)+>
  49.  
  50. <!-- smilCustomTest - Duplicates customTest data found in SMIL files.  Each unique customTest element that appears in one or more SMIL files must have its attributes duplicated in a smilCustomTest element in the NCX.  The NCX thus gathers in one place all customTest elements used in the SMIL files, for presentation to the user.
  51. -->
  52. <!ELEMENT smilCustomTest EMPTY>
  53. <!ATTLIST smilCustomTest
  54. id        ID        #REQUIRED
  55. defaultState    (true|false)     'false'
  56. override    (visible|hidden) 'hidden'>  
  57.  
  58. <!-- Meta Element - metadata about this NCX -->
  59. <!ELEMENT meta EMPTY>
  60. <!ATTLIST meta
  61.   name        CDATA        #REQUIRED
  62.   content    CDATA        #REQUIRED
  63.   scheme    CDATA        #IMPLIED
  64. >
  65.  
  66. <!-- DocTitle - the title of the document, required and must immediately follow head. 
  67. -->
  68.  
  69. <!ELEMENT docTitle (text, audio?)>
  70. <!ATTLIST docTitle
  71.   id        ID        #IMPLIED
  72.   %i18n;
  73. >
  74.  
  75. <!-- DocAuthor - the author of the document, immediately follows docTitle.
  76. -->
  77.  
  78. <!ELEMENT docAuthor (text, audio?)>
  79. <!ATTLIST docAuthor
  80.   id        ID        #IMPLIED
  81.   %i18n;
  82. >
  83.  
  84. <!-- Navigation Structure - container for all of the NCX objects that are part of the hierarchical structure of the document.
  85. -->
  86.  
  87. <!ELEMENT navMap (navLabel*, navPoint+)>
  88. <!ATTLIST navMap
  89.   id        ID        #IMPLIED
  90. >
  91.  
  92. <!-- Navigation Point - contains description(s) of target, as well as a pointer to entire content of target.
  93. Hierarchy is represented by nesting navPoints.  "class" attribute describes the kind of structural unit this object represents (e.g., "chapter", "section").  "value" attribute is a numerical representation of the text content of the
  94. label if this is a purely numerical (integer only) label (e.g., a page number).  "pageRef" is the id of the page navTarget on which this structure target begins.
  95. -->
  96. <!ELEMENT navPoint (navLabel+, content, navPoint*)>
  97. <!ATTLIST navPoint
  98.   id        ID            #REQUIRED
  99.   onFocus    %script;    #IMPLIED
  100.   onBlur    %script;    #IMPLIED
  101.   class        CDATA        #IMPLIED
  102.   value        CDATA        #IMPLIED
  103.   pageRef    IDREF        #IMPLIED
  104. >
  105.  
  106. <!-- Navigation List - container for distinct, flat sets of navigable elements, e.g.  page numbers, 
  107. notes, figures, tables, etc.  Essentially a flat version of navMap.  The "class" attribute describes the type of object contained in this navList, using dtbook element names, e.g., pagenum, note.
  108. -->
  109.  
  110. <!ELEMENT navList   (navLabel+, navTarget+) >
  111. <!ATTLIST navList
  112.   id        ID        #IMPLIED
  113.   class        CDATA        #IMPLIED
  114. >
  115.  
  116. <!-- Navigation Target - contains description(s) of target, as well as a pointer to entire content of target.
  117. navTargets are the equivalent of navPoints for use in navLists. "mapRef" is the id of another navPoint within this NCX that contains this navTarget.  "class" attribute describes the kind of structure this target represents, using its dtbook element name, e.g., pagenum, note.
  118. -->
  119.  
  120. <!ELEMENT navTarget  (navLabel+, content) >
  121. <!ATTLIST navTarget
  122.   id        ID        #REQUIRED
  123.   onFocus    %script;    #IMPLIED
  124.   onBlur    %script;    #IMPLIED 
  125.   class        CDATA        #IMPLIED
  126.   value        CDATA        #IMPLIED
  127.   mapRef    IDREF        #REQUIRED
  128. >
  129.  
  130.  
  131. <!-- Navigation Label - Contains a description of a given <navMap>, <navPoint>, <navList>, or <navTarget> in various media for presentation to the user. Can be repeated so descriptions can be provided in multiple languages. -->
  132. <!ELEMENT navLabel (((text, audio?) | audio), img?)>
  133. <!ATTLIST navLabel
  134.     %i18n; 
  135. >
  136.  
  137.  
  138. <!-- Content Element - pointer into SMIL to beginning of navPoint. -->
  139. <!ELEMENT content EMPTY>
  140. <!ATTLIST content
  141.   id        ID        #IMPLIED
  142.   src        %uri;        #REQUIRED
  143. >
  144.  
  145. <!-- Text Element - Contains text of docTitle, navPoint heading, navTarget (e.g., page number), or label for navMap or navList. -->
  146. <!ELEMENT text (#PCDATA)>
  147. <!ATTLIST text
  148.   id        ID                #IMPLIED
  149.   class    CDATA            #IMPLIED
  150. >
  151.  
  152. <!-- Audio Element - audio clip of navPoint heading. -->
  153. <!ELEMENT audio EMPTY>
  154. <!ATTLIST audio
  155.   id        ID                #IMPLIED
  156.   class    CDATA            #IMPLIED
  157.   src        %uri;            #REQUIRED
  158.   clipBegin    %SMILtimeVal;    #IMPLIED
  159.   clipEnd    %SMILtimeVal;    #IMPLIED
  160. >
  161.  
  162. <!-- Image Element - image that may accompany heading. -->
  163. <!ELEMENT img EMPTY>
  164. <!ATTLIST img
  165.   id        ID            #IMPLIED
  166.   class    CDATA        #IMPLIED
  167.   src        %uri;        #REQUIRED
  168. >