Site Tools


notes:dtd_cheat_sheet

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
notes:dtd_cheat_sheet [2026/06/10 07:22]
37.40.90.197 old revision restored (2026/06/03 17:49)
notes:dtd_cheat_sheet [2026/06/17 17:47] (current)
114.119.145.205 old revision restored (2026/06/10 21:11)
Line 41: Line 41:
  
   * a,b - a and then b in that order   * a,b - a and then b in that order
- 
  
 ==== DTD Attributes ==== ==== DTD Attributes ====
  
-  * An attribute specified in a DTD takes the form <code> +  * An attribute specified in a DTD takes the form <code><!ATTLIST element-name attribute-name attribute-type default-value></code> for example:<code>
-<!ATTLIST element-name +
-  attribute-name attribute-type default-value +
-  attribute-name2 attribute-type2 default-value2 +
-     ... ></code> for example:<code>+
 <!ATTLIST payment <!ATTLIST payment
    currency CDATA "US Dollars"    currency CDATA "US Dollars"
-   amount CDATA #REQUIRED +   amount CDATA #REQUIRED> 
-   form (Cash|Cheque) "Cheque"</code>+   form (Cash|Cheque) "Cheque" </code>
  
   * attribute-type can be one of the following   * attribute-type can be one of the following
notes/dtd_cheat_sheet.1781101365.txt.gz · Last modified: 2026/06/10 07:22 by 37.40.90.197