home *** CD-ROM | disk | FTP | other *** search
/ Chip: 25 Years Anniversary / CHIP_25Jahre_Jubilaeum.iso / downloads / 401065 / WPO11 / Data1.cab / HTML_TBL.DTD < prev    next >
Text File  |  2003-03-07  |  3KB  |  69 lines

  1. <!--
  2.      File:  HTML_TBL.DTD        (DTD Declaration Subset)
  3.  
  4.      DISCLAIMER:  This declaration subset contains the HTML table
  5.      information that is considered relevant by the SGML features of
  6.      Corel WordPerfect 9.  This file is NOT a complete DTD, and
  7.      cannot be compiled into an LGC file without modification.
  8.      
  9.      Although this file can be included in an arbitrary DTD to add some
  10.      level of HTML table support, it does not include all of the elements,
  11.      entities, and attributes found in the HTML 3.2 DTD defined in the W3C
  12.      Document Type Definition for the HyperText Markup Language. It is
  13.      intended primarily for your information.
  14. -->
  15.  
  16. <!ENTITY % body.content "(#PCDATA)" -- no special handling for content --> 
  17.  
  18. <!ENTITY % text "(#PCDATA)" -- no special handling --> 
  19.  
  20. <!ENTITY % Length "CDATA" -- nn for pixels or nn% for percentage length -->
  21. <!ENTITY % Pixels "CDATA" -- integer representing length in pixels -->
  22.  
  23. <!--======================= Tables ========================================-->
  24.  
  25. <!-- Widely deployed subset of the full table standard, see RFC 1942
  26.      e.g. at http://www.ics.uci.edu/pub/ietf/html/rfc1942.txt -->
  27.  
  28. <!-- horizontal placement of table relative to window -->
  29. <!ENTITY % Where "(left|center|right)">
  30.  
  31. <!-- horizontal alignment attributes for cell contents -->
  32. <!ENTITY % cell.halign
  33.         "align  (left|center|right) #IMPLIED"
  34.         >
  35.  
  36. <!-- vertical alignment attributes for cell contents -->
  37. <!ENTITY % cell.valign
  38.         "valign  (top|middle|bottom|baseline)  #IMPLIED"
  39.         >
  40.  
  41. <!ELEMENT table - - (caption?, tr+)>
  42. <!ELEMENT tr - O (th|td)*>
  43. <!ELEMENT (th|td) - O %body.content>
  44.  
  45. <!ATTLIST table                       -- table element --
  46.         width     %Length   #IMPLIED  -- table width relative to window --
  47.         border    %Pixels   #IMPLIED  -- controls frame width around table --
  48.         dummy     (border)  #IMPLIED  -- fixes SGML error for border w/o value --
  49.         >
  50.  
  51. <!ELEMENT CAPTION - - (%text;)* -- table or figure caption -->
  52. <!ATTLIST CAPTION
  53.         align (top|bottom) #IMPLIED
  54.         >
  55.  
  56. <!ATTLIST tr                       -- table row --
  57.         %cell.halign;              -- horizontal alignment in cells --
  58.         %cell.valign;              -- vertical alignment in cells --
  59.         >
  60.  
  61. <!ATTLIST (th|td)                  -- header or data cell --
  62.         rowspan NUMBER   1         -- number of rows spanned by cell --
  63.         colspan NUMBER   1         -- number of cols spanned by cell --
  64.         %cell.halign;              -- horizontal alignment in cells --
  65.         %cell.valign;              -- vertical alignment in cells --
  66.         width   %Length  #IMPLIED  -- cell width --
  67.         >
  68.  
  69.