Site Tools


notes:xml_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:xml_cheat_sheet [2026/06/12 22:35]
163.7.16.176 old revision restored (2007/10/03 22:11)
notes:xml_cheat_sheet [2026/06/13 21:30] (current)
114.119.158.251 old revision restored (2026/06/11 00:45)
Line 27: Line 27:
   * An XML document must have a root element (note in the above). All elements may have child elements.   * An XML document must have a root element (note in the above). All elements may have child elements.
  
-  * XML documents can be extended by adding new element typesImplementations must ignore unknown element types.+  * Elements may have attributes (date in the above)All attribute values must be quoted.
  
   * Whitespace is preserved. CR/LF is converted into just LF (UNIX format line terminators).   * Whitespace is preserved. CR/LF is converted into just LF (UNIX format line terminators).
  
   * <!-- This is a comment -->   * <!-- This is a comment -->
- 
-==== XML Elements ==== 
- 
-XML Elements can have attributes which must be either single or double quoted e.g. date in the above. 
- 
-XML elements can have either 
-  * Empty content 
-  * Simple content(text ony) 
-  * Element content (child elements) 
-  * Mixed content (child elements and text) 
- 
-XML element names can contain any character except for a space but must start with a letter and can't start with xml (in any case). 
- 
- 
notes/xml_cheat_sheet.1781328948.txt.gz ยท Last modified: 2026/06/12 22:35 by 163.7.16.176