home *** CD-ROM | disk | FTP | other *** search
/ Internet Magazine 2003 October / INTERNET108.ISO / pc / software / windows / building / xmlspy / xmlspyentcomplete5.exe / Data1.cab / _DA71B35E3D2B4A3AAC85657222186A01 < prev    next >
Encoding:
Text File  |  2002-09-03  |  4.7 KB  |  185 lines

  1. <!-- WML 2.0 Document Model Module  .................................... -->
  2. <!-- file: wml20-model-1.mod -->
  3. <!-- 
  4.     @Wireless Application Protocol Forum, Ltd. 2001.
  5.  
  6.     Terms and conditions of use are available from the Wireless Application Protocol Forum Ltd. 
  7.     Web site (http://www.wapforum.org/what/copyright.htm).
  8. -->
  9. <!--
  10.      This DTD module is identified by the PUBLIC and SYSTEM identifiers:
  11.  
  12.        PUBLIC "-//WAPFORUM//ENTITIES WML 2.0 Document Model 1.0//EN"
  13.        SYSTEM "http://www.wapforum.org/dtd/wml20-model-1.mod"
  14.       
  15.      This module describes the groupings of elements that make up
  16.      common content models for WML and XHTML elements.
  17.  
  18.      Three basic content models are declared:
  19.  
  20.          %Inline.mix;  character-level elements
  21.          %Block.mix;   block-like elements, eg., paragraphs and lists
  22.          %Flow.mix;    any block or inline elements
  23.  
  24.      Any parameter entities declared in this module may be used
  25.      to create element content models, but the above three are
  26.      considered 'global' (insofar as that term applies here).
  27.      
  28.                  
  29. -->
  30. <!-- 
  31.     Optional Elements in head  
  32. -->
  33. <!ENTITY % HeadOpts.mix "( %meta.qname; 
  34.         | %link.qname; 
  35.         | %style.qname; 
  36.         | %object.qname; 
  37.         | %access.qname;)*">
  38. <!-- 
  39.     Task elements
  40.  
  41.     Used for the WML do and onevent elements
  42. -->
  43. <!ENTITY % Tasks.class "(%go.qname; 
  44.         | %prev.qname; 
  45.         | %noop.qname; 
  46.         | %refresh.qname;)">
  47. <!-- 
  48.     Tasks without noop element
  49.  
  50.     Used for the WML anchor
  51. -->
  52. <!ENTITY % Tasks-nonoop.class "%go.qname; 
  53.         | %prev.qname; 
  54.         | %refresh.qname;">
  55. <!--
  56.     Do element
  57. -->
  58. <!ENTITY % Do.class "%do.qname;">
  59. <!-- 
  60.     Miscellaneous Elements  
  61.     
  62.     This is not used for anything right now. 
  63. -->
  64. <!ENTITY % Misc.class "">
  65. <!-- 
  66.     Inline Elements  
  67. -->
  68. <!ENTITY % InlStruct.class "%br.qname; 
  69.     | %span.qname;">
  70. <!ENTITY % InlPhras.class "| %em.qname; 
  71.     | %strong.qname; 
  72.     | %dfn.qname; 
  73.     | %code.qname; 
  74.     | %samp.qname; 
  75.     | %kbd.qname; 
  76.     | %var.qname; 
  77.     | %cite.qname; 
  78.          | %abbr.qname; 
  79.     | %acronym.qname; 
  80.     | %q.qname;">
  81. <!ENTITY % InlPres.class "| %i.qname; 
  82.     | %b.qname; 
  83.     | %big.qname; 
  84.     | %small.qname;
  85.     | %u.qname;">
  86. <!ENTITY % I18n.class "">
  87. <!ENTITY % Anchor.class "| %a.qname; 
  88.     | %anchor.qname; | %do.qname;">
  89. <!ENTITY % InlSpecial.class "| %img.qname; 
  90.      | %object.qname; 
  91.     | %getvar.qname;">
  92. <!ENTITY % InlForm.class "| %input.qname; 
  93.      | %select.qname; 
  94.      | %textarea.qname;
  95.          | %label.qname;">
  96. <!ENTITY % Inline.extra "">
  97. <!ENTITY % Inline.class "%InlStruct.class;
  98.       %InlPhras.class;
  99.       %InlPres.class;
  100.       %Anchor.class;
  101.       %InlSpecial.class;
  102.       %InlForm.class;
  103.       %Inline.extra;">
  104. <!ENTITY % InlNoAnchor.class "%InlStruct.class;
  105.       %InlPhras.class;
  106.       %InlPres.class;
  107.       %InlSpecial.class;
  108.       %InlForm.class;
  109.       %Inline.extra;">
  110. <!ENTITY % InlNoAnchor.mix "%InlNoAnchor.class;
  111.       %Misc.class;">
  112. <!ENTITY % Inline.mix "%Inline.class;
  113.       %Misc.class;">
  114. <!-- 
  115.     Block Elements  
  116. -->
  117. <!ENTITY % Heading.class "%h1.qname; 
  118.     | %h2.qname; 
  119.     | %h3.qname; 
  120.     | %h4.qname; 
  121.     | %h5.qname; 
  122.     | %h6.qname;">
  123. <!ENTITY % List.class "%ul.qname; 
  124.     | %ol.qname; 
  125.     | %dl.qname;">
  126. <!ENTITY % Table.class "| %table.qname;">
  127. <!ENTITY % Form.class "| %form.qname;">
  128. <!ENTITY % Fieldset.class "| %fieldset.qname;">
  129. <!ENTITY % BlkStruct.class "%p.qname; 
  130.     | %div.qname;">
  131. <!ENTITY % BlkPhras.class "| %pre.qname; 
  132.      | %blockquote.qname; 
  133.      | %address.qname;">
  134. <!ENTITY % BlkPres.class "| %hr.qname;">
  135. <!ENTITY % BlkSpecial.class "%Table.class;
  136.       %Form.class;
  137.       %Fieldset.class;">
  138. <!ENTITY % Block.extra "">
  139. <!ENTITY % Block.class "%BlkStruct.class;
  140.       %BlkPhras.class;
  141.      %BlkPres.class;
  142.       %BlkSpecial.class;
  143.       %Block.extra;">
  144. <!ENTITY % Block.mix "%Heading.class;
  145.       | %List.class;
  146.       | %Block.class;     
  147.       | %Do.class;
  148.       %Misc.class;">
  149. <!ENTITY % BlkNoForm.mix "%Heading.class;
  150.       | %List.class;
  151.       | %BlkStruct.class;
  152.       %BlkPhras.class;
  153.       %BlkPres.class;
  154.       | %table.qname;
  155.       %Block.extra;
  156.       %Misc.class;">
  157. <!-- 
  158.     All Content Elements  
  159. -->
  160. <!-- 
  161.     declares all content except tables
  162. -->
  163. <!ENTITY % FlowNoTable.mix "%Heading.class;
  164.       | %List.class;
  165.       | %BlkStruct.class;
  166.       %BlkPhras.class;
  167.       %Form.class;
  168.       %Block.extra;
  169.       | %Inline.class;
  170.       %Misc.class;">
  171. <!ENTITY % Flow.mix "%Heading.class;
  172.       | %List.class;
  173.       | %Block.class;
  174.       | %Inline.class;
  175.       %Misc.class;">
  176. <!--     
  177.     Template level elements 
  178. -->
  179. <!ENTITY % Template.mix "( %onevent.qname;)*">
  180. <!-- 
  181.     Content model of the WML card and XHTML body elements
  182. -->
  183. <!ENTITY % CardBody.mix "(%onevent.qname;*, %timer.qname;?,  ( %Block.mix; )+)">
  184. <!-- end of wml20-model-1.mod -->
  185.