home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 November / CHIP_CD_1998_11_PL.iso / offline / internet / xml / xmlfaq / xmlview.exe / formfrag.dtd < prev    next >
Encoding:
Text File  |  1997-02-25  |  15.0 KB  |  454 lines

  1. <!-- HTML Forms DTD fragment (formfrag.dtd) for adding to DocBook 
  2.      and other DTDs which allow parameterized additions. -->
  3.  
  4. <!-- This file is defined as
  5.  
  6.      "+//Silmaril//DTD HTML Forms Fragment//EN"
  7.  
  8.      and is Copyleft 1997 by Silmaril Consultants under
  9.      the terms of the GNU General Public License, a copy of
  10.      which can be found at 
  11.  
  12.      http://www.arbornet.org/~silmaril/dtds/html/gnugpl.html
  13.  
  14.      The DocBook DTD is Copyright 1992, 1993, 1994, 1995, 1996 
  15.      HaL Computer Systems, Inc., O'Reilly & Associates, Inc., 
  16.      ArborText, Inc., and Fujitsu Software Corporation. -->
  17.  
  18. <!-- Definitions taken from the HTML Pro DTD, with the addition
  19.      of %component.mix; and %local.option.attrib; which are 
  20.      references to DocBook. -->
  21.  
  22. <!ENTITY % targetcontent "%component.mix;">
  23. <!ENTITY % option.def "IGNORE">
  24.  
  25. <!-- Here's the HTML stuff, lightly parameterized -->
  26.  
  27. <!ELEMENT FORM  - -     (%targetcontent;) 
  28.             -(FORM) 
  29.             +(INPUT , SELECT , TEXTAREA) 
  30. --<Title>(H2)Fill-in form-- >
  31.  
  32. <!ELEMENT INPUT  - O  (DUMMY)  
  33. --<Title>(H2)Single-line input-- >
  34.  
  35. <!ELEMENT DUMMY - O EMPTY>
  36.  
  37. <!ELEMENT SELECT  - - (OPTION+)
  38. --<Title>(H2)Encloses multi-option form menu-- >
  39.  
  40. <![%option.def;[
  41. <!ELEMENT OPTION  - O  CDATA
  42. --<Title>(H2)Options in a form menu-- ]]>
  43.  
  44. <!ELEMENT TEXTAREA  - -  CDATA 
  45. --<Title>(H2)Freetext input area-- >
  46.  
  47. <!ATTLIST FORM
  48. --<Title>HTML Pro - Attribute List-067--
  49.  id  ID    #IMPLIED 
  50. --<Title>Document-wide unique ID--
  51.  class  NAMES    #IMPLIED 
  52. --<Title>Comma-separated list of classes--
  53.  style  CDATA    #IMPLIED 
  54. --<Title>Style info for this occurrence only--
  55.  title  CDATA    #IMPLIED 
  56. --<Title>Advisory title (rec'd max 64 chars)--
  57.  lang  NAME    #IMPLIED 
  58. --<Title>RFC 1766 language value--
  59.  dir (ltr , rtl)   #IMPLIED 
  60. --<Title>Directionality--
  61.  noindex (noindex)   #IMPLIED 
  62. --<Title>Defeats robot indexing--
  63.  clear  CDATA    #IMPLIED 
  64. --<Title>for control of text flow--
  65.  script  CDATA    #IMPLIED 
  66. --<Title>script--
  67.  subject  CDATA    #IMPLIED 
  68. --<Title>subject--
  69.  action  CDATA    #REQUIRED 
  70. --<Title>(H2) server-side form handler (script)--
  71.  method (GET , POST , PGET)  "GET"
  72. --<Title>(H2) see HTTP specification: PGET added for Foteos' testing--
  73.  name  CDATA    #IMPLIED 
  74. --<Title>(N) name for the form--
  75.  target  CDATA    #IMPLIED 
  76. --<Title>(N) name for the target window--
  77.  enctype  CDATA   "application/x-www-form-urlencoded"
  78. --<Title>(H2) Encoding type, may also be "multipart/form-data"--
  79.  onReset  CDATA    #IMPLIED 
  80. --<Title>(N) module to execute when form is reset--
  81.  onSubmit  CDATA    #IMPLIED 
  82. --<Title>(N) module to execute when form is submitted--
  83.  SDAPREF  CDATA    #FIXED "<Para>Form:</Para>"
  84. --<Title>SDAPREF-011--
  85.  SDASUFF  CDATA    #FIXED "<Para>Form End.</Para>"
  86. --<Title>SDASUFF-- >
  87.  
  88. <!ATTLIST INPUT
  89. --<Title>HTML Pro - Attribute List-070--
  90.  id  ID    #IMPLIED 
  91. --<Title>Document-wide unique ID--
  92.  class  NAMES    #IMPLIED 
  93. --<Title>Comma-separated list of classes--
  94.  style  CDATA    #IMPLIED 
  95. --<Title>Style info for this occurrence only--
  96.  title  CDATA    #IMPLIED 
  97. --<Title>Advisory title (rec'd max 64 chars)--
  98.  lang  NAME    #IMPLIED 
  99. --<Title>RFC 1766 language value--
  100.  dir (ltr , rtl)   #IMPLIED 
  101. --<Title>Directionality--
  102.  noindex (noindex)   #IMPLIED 
  103. --<Title>Defeats robot indexing--
  104.  type (TEXT , PASSWORD , CHECKBOX , RADIO , SUBMIT , RESET , 
  105.                FILE , HIDDEN , IMAGE , BUTTON)  "TEXT"
  106. --<Title>what kind of widget is needed--
  107.  name  CDATA    #IMPLIED 
  108. --<Title>required for all but submit and reset--
  109.  value  CDATA    #IMPLIED 
  110. --<Title>required for radio and checkboxes, also for file uploads--
  111.  checked (checked)   #IMPLIED 
  112. --<Title>marks this field by default as CHECKED--
  113.  disabled (disabled)   #IMPLIED 
  114. --<Title>turns off this field--
  115.  clear  CDATA    #IMPLIED 
  116. --<Title>(H3) control of text flow--
  117.  error  CDATA    #IMPLIED 
  118. --<Title>error--
  119.  height  NUMBER    #IMPLIED 
  120. --<Title>height-004--
  121.  width  NUMBER    #IMPLIED 
  122. --<Title>width-004--
  123.  max  NUMBER    #IMPLIED 
  124. --<Title>max--
  125.  min  NUMBER    #IMPLIED 
  126. --<Title>min--
  127.  md  CDATA    #IMPLIED 
  128. --<Title>message digest for linked object--
  129.  size  CDATA    #IMPLIED 
  130. --<Title>specific to each type of field--
  131.  maxlength  NUMBER    #IMPLIED 
  132. --<Title>maxlength--
  133.  src  CDATA    #IMPLIED 
  134. --<Title>for fields with background images--
  135.  alt  CDATA    #IMPLIED 
  136. --<Title>for display in place of applet--
  137.  fileformat  NOTATION (GIF , JPG , DVI , BMP , EPS , PNG , 
  138.                PICT , TIFF , XBM , XPM)   #IMPLIED 
  139. --<Title>Format of icon file if not implicit--
  140.  accept  CDATA    #IMPLIED 
  141. --<Title>Form-based file upload accepted types (RFC1867)--
  142.  align (left , right , center , justify)   #IMPLIED 
  143. --<Title>Horizontal alignment--
  144.  tabindex  NUMBER    #IMPLIED 
  145. --<Title>Position in tabbing order--
  146.  notab (notab)   #IMPLIED 
  147. --<Title>Exclude from tabbing order--
  148.  onClick  CDATA    #IMPLIED 
  149. --<Title>(N) script to execute when button is clicked; (T) animation--
  150.  onFocus  CDATA    #IMPLIED 
  151. --<Title>onFocus--
  152.  onBlur  CDATA    #IMPLIED 
  153. --<Title>onBlur--
  154.  onSelect  CDATA    #IMPLIED 
  155. --<Title>onSelect--
  156.  onChange  CDATA    #IMPLIED 
  157. --<Title>onChange--
  158.  action  CDATA    #IMPLIED 
  159. --<Title>(T) URL to send single field value to when field is clicked--
  160.  submitform (submitform)   #IMPLIED 
  161. --<Title>(T) with ACTION, sends whole form instead of single value--
  162.  noargs (noargs)   #IMPLIED 
  163. --<Title>(T) with ACTION, defeats sending of field data--
  164.  nohighlight (nohighlight)   #IMPLIED 
  165. --<Title>(T) disables auto-highlighting--
  166.  usestyle (usestyle)   #IMPLIED 
  167. --<Title>(T) use body font for content--
  168.  autosubmit (autosubmit)   #IMPLIED 
  169. --<Title>(T) in HIDDEN fields, submits form when user transcludes--
  170.  loop (loop)   #IMPLIED 
  171. --<Title>(T) forces an ONCLICK animation to loop--
  172.  nocursor (nocursor)   #IMPLIED 
  173. --<Title>(T) in IMAGE fields, disable cursor on image--
  174.  borderimage  CDATA    #IMPLIED 
  175. --<Title>(T) in TEXT, RESET and SUBMIT, specifies alternate button images--
  176.  useform  IDREF    #IMPLIED 
  177. --<Title>(T) in SUBMIT, send the form ID="id" rather than the current form--
  178.  allcaps (allcaps)   #IMPLIED 
  179. --<Title>(T) forces keyboard to CAPS LOCK for data in this field--
  180.  autocaps (autocaps)   #IMPLIED 
  181. --<Title>(T) forces keyboard to initial capitalization for this field--
  182.  autoactivate (autoactivate)   #IMPLIED 
  183. --<Title>(T) in TEXT fields, activates focus automatically--
  184.  bgcolor  CDATA    #IMPLIED 
  185. --<Title>(T) background color--
  186.  cursor  CDATA    #IMPLIED 
  187. --<Title>(T) cursor color--
  188.  executeurl  CDATA    #IMPLIED 
  189. --<Title>(T) in TEXT, interpret data as URL and transclude on RETURN--
  190.  nosubmit (nosubmit)   #IMPLIED 
  191. --<Title>(T) defeats submission when RETURN is pressed--
  192.  numbers (numbers)   #IMPLIED 
  193. --<Title>(T) forces use of numeric keypad--
  194.  SDAPREF  CDATA    #FIXED "Input: "
  195. --<Title>SDAPREF-012-- >
  196.  
  197. <!ATTLIST SELECT
  198. --<Title>HTML Pro - Attribute List-071--
  199.  id  ID    #IMPLIED 
  200. --<Title>Document-wide unique ID--
  201.  class  NAMES    #IMPLIED 
  202. --<Title>Comma-separated list of classes--
  203.  style  CDATA    #IMPLIED 
  204. --<Title>Style info for this occurrence only--
  205.  title  CDATA    #IMPLIED 
  206. --<Title>Advisory title (rec'd max 64 chars)--
  207.  lang  NAME    #IMPLIED 
  208. --<Title>RFC 1766 language value--
  209.  dir (ltr , rtl)   #IMPLIED 
  210. --<Title>Directionality--
  211.  noindex (noindex)   #IMPLIED 
  212. --<Title>Defeats robot indexing--
  213.  align (left , right , center , justify)   #IMPLIED 
  214. --<Title>Horizontal alignment--
  215.  name  CDATA    #REQUIRED 
  216. --<Title>property name--
  217.  clear  CDATA    #IMPLIED 
  218. --<Title>(H3) control of text flow--
  219.  disabled (disabled)   #IMPLIED 
  220. --<Title>marks this field by default as disabled--
  221.  error  CDATA    #IMPLIED 
  222. --<Title>error-002--
  223.  md  CDATA    #IMPLIED 
  224. --<Title>message digest for linked object--
  225.  width  NUMBER    #IMPLIED 
  226. --<Title>desired width in units--
  227.  height  NUMBER    #IMPLIED 
  228. --<Title>desired height in units--
  229.  units (en , pixels)  "pixels"
  230. --<Title>specifies units as en's or pixels--
  231.  size  NUMBER    #IMPLIED 
  232. --<Title>number of items in the list to be visible at once--
  233.  multiple (multiple)   #IMPLIED 
  234. --<Title>multiple--
  235.  checked (checked)   #IMPLIED 
  236. --<Title>marks this field by default as CHECKED--
  237.  tabindex  NUMBER    #IMPLIED 
  238. --<Title>Position in tabbing order--
  239.  notab (notab)   #IMPLIED 
  240. --<Title>Exclude from tabbing order--
  241.  onFocus  CDATA    #IMPLIED 
  242. --<Title>onFocus-002--
  243.  onBlur  CDATA    #IMPLIED 
  244. --<Title>onBlur-002--
  245.  onChange  CDATA    #IMPLIED 
  246. --<Title>onChange-002--
  247.  onClick  CDATA    #IMPLIED 
  248. --<Title>(N) script to execute when button is clicked--
  249.  autoactivate (autoactivate)   #IMPLIED 
  250. --<Title>(T) in TEXT fields, activates focus automatically--
  251.  bgcolor  CDATA    #IMPLIED 
  252. --<Title>(T) background color--
  253.  exclusive (exclusive)   #IMPLIED 
  254. --<Title>(T) detect and purge duplicate OPTION entries--
  255.  selcolor  CDATA   "#EAEAEA"
  256. --<Title>(T) sets color for background of selected options--
  257.  showempty (showempty)   #IMPLIED 
  258. --<Title>(T) displays empty lists with string "empty"--
  259.  text  CDATA    #IMPLIED 
  260. --<Title>(T) sets color for text of OPTIONs--
  261.  usestyle (usestyle)   #IMPLIED 
  262. --<Title>(T) use body font for content--
  263.  SDAFORM  CDATA    #FIXED "List"
  264. --<Title>SDAFORM-022--
  265.  SDAPREF  CDATA    #FIXED 
  266.                "<LHead>Select #AttVal(Multiple)</LHead>"
  267. --<Title>SDAPREF-013-- >
  268.  
  269. <!-- Note that a stray apostrophe had to be removed from a comment 
  270.      in this, so that the ATTLIST could be contained in single
  271.      quotes (as it contains double quotes) -->
  272.  
  273. <!entity % local.option.attrib 
  274.                '--ATTLIST OPTION--
  275. --<Title>HTML Pro - Attribute List-072--
  276. <![%option.def;[--omit the ID attribute if this is embedded--
  277.  id  ID    #IMPLIED 
  278. --<Title>Document-wide unique ID--]]>
  279.  class  NAMES    #IMPLIED 
  280. --<Title>Comma-separated list of classes--
  281.  style  CDATA    #IMPLIED 
  282. --<Title>Style info for this occurrence only--
  283.  title  CDATA    #IMPLIED 
  284. --<Title>Advisory title (recd max 64 chars)--
  285.  lang  NAME    #IMPLIED 
  286. --<Title>RFC 1766 language value--
  287.  dir (ltr , rtl)   #IMPLIED 
  288. --<Title>Directionality--
  289.  noindex (noindex)   #IMPLIED 
  290. --<Title>Defeats robot indexing--
  291.  clear  CDATA    #IMPLIED 
  292. --<Title>(H3) control of text flow--
  293.  disabled (disabled)   #IMPLIED 
  294. --<Title>marks this field by default as disabled--
  295.  selected (selected)   #IMPLIED 
  296. --<Title>marks this field by default as selected--
  297.  error  CDATA    #IMPLIED 
  298. --<Title>error-003--
  299.  shape  CDATA    #IMPLIED 
  300. --<Title>(L) Instantiation--
  301.  value  CDATA    #IMPLIED 
  302. --<Title>defaults to element content--
  303.  SDAFORM  CDATA    #FIXED "LItem"
  304. --<Title>SDAFORM-023--
  305.  SDAPREF  CDATA    #FIXED 
  306.                "Option: #AttVal(Value) #AttVal(Selected)"
  307. --<Title>SDAPREF-014-- 
  308.  '
  309. >
  310.  
  311. <!ATTLIST TEXTAREA
  312. --<Title>HTML Pro - Attribute List-073--
  313.  id  ID    #IMPLIED 
  314. --<Title>Document-wide unique ID--
  315.  class  NAMES    #IMPLIED 
  316. --<Title>Comma-separated list of classes--
  317.  style  CDATA    #IMPLIED 
  318. --<Title>Style info for this occurrence only--
  319.  title  CDATA    #IMPLIED 
  320. --<Title>Advisory title (rec'd max 64 chars)--
  321.  lang  NAME    #IMPLIED 
  322. --<Title>RFC 1766 language value--
  323.  dir (ltr , rtl)   #IMPLIED 
  324. --<Title>Directionality--
  325.  noindex (noindex)   #IMPLIED 
  326. --<Title>Defeats robot indexing--
  327.  align (left , right , center , justify)   #IMPLIED 
  328. --<Title>Horizontal alignment--
  329.  name  CDATA    #REQUIRED 
  330. --<Title>property name--
  331.  clear  CDATA    #IMPLIED 
  332. --<Title>(H3) control of text flow--
  333.  disabled (disabled)   #IMPLIED 
  334. --<Title>marks this field by default as disabled--
  335.  error  CDATA    #IMPLIED 
  336. --<Title>error-004--
  337.  wrap (ON , OFF , HARD , SOFT , PHYSICAL , VIRTUAL)  "OFF"
  338. --<Title>(N) how to handle line-wrapping and inserted newlines--
  339.  rows  NUMBER    #REQUIRED 
  340. --<Title>rows--
  341.  cols  NUMBER    #REQUIRED 
  342. --<Title>cols--
  343.  checked (checked)   #IMPLIED 
  344. --<Title>marks this field by default as CHECKED--
  345.  tabindex  NUMBER    #IMPLIED 
  346. --<Title>Position in tabbing order--
  347.  notab (notab)   #IMPLIED 
  348. --<Title>Exclude from tabbing order--
  349.  onFocus  CDATA    #IMPLIED 
  350. --<Title>onFocus-003--
  351.  onBlur  CDATA    #IMPLIED 
  352. --<Title>onBlur-003--
  353.  onSelect  CDATA    #IMPLIED 
  354. --<Title>onSelect-002--
  355.  onChange  CDATA    #IMPLIED 
  356. --<Title>onChange-003--
  357.  allcaps (allcaps)   #IMPLIED 
  358. --<Title>(T) forces keyboard to CAPS LOCK for data in this field--
  359.  autocaps (autocaps)   #IMPLIED 
  360. --<Title>(T) forces keyboard to initial capitalization for this field--
  361.  autoactivate (autoactivate)   #IMPLIED 
  362. --<Title>(T) in TEXT fields, activates focus automatically--
  363.  bgcolor  CDATA    #IMPLIED 
  364. --<Title>(T) background color--
  365.  cursor  CDATA    #IMPLIED 
  366. --<Title>(T) cursor color--
  367.  growable (growable)   #IMPLIED 
  368. --<Title>(T) area grows when full instead of scrolling--
  369.  nohardbreaks (nohardbreaks)   #IMPLIED 
  370. --<Title>(T) RETURN moves to next field instead of entering a newline--
  371.  nosoftbreaks (nosoftbreaks)   #IMPLIED 
  372. --<Title>(T) soft breaks in wrapping will not be sent to server--
  373.  numbers (numbers)   #IMPLIED 
  374. --<Title>(T) forces use of numeric keypad--
  375.  showkeyboard (showkeyboard)   #IMPLIED 
  376. --<Title>(T) keyboard pops up automatically when area selected--
  377.  usestyle (usestyle)   #IMPLIED 
  378. --<Title>(T) use body font for content--
  379.  SDAFORM  CDATA    #FIXED "Para"
  380. --<Title>SDAFORM-024--
  381.  SDAPREF  CDATA    #FIXED "Input Text -- #AttVal(Name): "
  382. --<Title>SDAPREF-015-- >
  383.  
  384. <!ENTITY % commonatts 
  385.                "
  386.  id      ID        #IMPLIED
  387.  --<Title>Document-wide unique ID--
  388.  class   NAMES     #IMPLIED
  389.  --<Title>Comma-separated list of classes-- 
  390.  style   CDATA     #IMPLIED
  391.  --<Title>Style info for this occurrence only-- 
  392.  title   CDATA     #IMPLIED
  393.  --<Title>Advisory title (rec'd max 64 chars)-- 
  394.  lang    NAME      #IMPLIED
  395.  --<Title>RFC 1766 language value-- 
  396.  dir     (ltr,rtl) #IMPLIED
  397.  --<Title>Directionality--
  398.  noindex (noindex) #IMPLIED
  399.  --<Title>Defeats robot indexing--
  400.  "
  401. --<Title>attributes common to all elements-- >
  402.  
  403. <!ENTITY % horiz.align  
  404.                "
  405.  align (left,right,center,justify) #IMPLIED
  406.  --<Title>Horizontal alignment--
  407.  "
  408. --<Title>horizontal alignment on some structural elements-- >
  409.  
  410. <!ENTITY % vert.align  
  411.                '
  412.  align (top,middle,bottom) "middle"
  413.  --<Title>Vertical alignment--
  414.  '
  415. --<Title>vertical alignment on some elements-- >
  416.  
  417. <!ENTITY % SDAFORM  "
  418.  SDAFORM  CDATA  #FIXED
  419.  "
  420. --<Title>One to one mapping-- >
  421.  
  422. <!ENTITY % SDAPREF  "
  423.  SDAPREF  CDATA  #FIXED
  424.  "
  425. --<Title>Generated text prefix-- >
  426.  
  427. <!ENTITY % SDARULE  "
  428.  SDARULE  CDATA  #FIXED
  429.  "
  430. --<Title>Context-sensitive mapping-- >
  431.  
  432. <!ENTITY % SDASUFF  "
  433.  SDASUFF  CDATA  #FIXED
  434.  "
  435. --<Title>Generated text suffix-- >
  436.  
  437. <!ENTITY % SDASUSP  "
  438.  SDASUSP  NAME   #FIXED
  439.  "
  440. --<Title>Suspend transform process-- >
  441.  
  442. <!ENTITY % VBorder  
  443.                "(VSingle|VDouble|VTriple|VDash|VDot|VBold|VBlank|VNone)"
  444. --<Title>VBorder-- >
  445.  
  446. <!ENTITY % HBorder  
  447.                "(HSingle|HDouble|HTriple|HDash|HDot|HBold|HBlank|HNone)"
  448. --<Title>HBorder-- >
  449.  
  450. <!ENTITY % TblUnit  "(percent|pixels|points|picas|mm|cm|inches)"
  451. --<Title>TblUnit-- >
  452.  
  453.  
  454.