This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
notes:xml_cheat_sheet [2026/06/13 12:32] 114.119.152.46 old revision restored (2026/06/08 14:45) |
notes:xml_cheat_sheet [2026/06/13 17:15] (current) 216.73.217.154 old revision restored (2026/06/13 12:33) |
||
|---|---|---|---|
| Line 20: | Line 20: | ||
| * XML files are completely platform-independent and portable (EBCDIC platforms ?). | * XML files are completely platform-independent and portable (EBCDIC platforms ?). | ||
| - | |||
| ==== XML Syntax ==== | ==== XML Syntax ==== | ||
| Line 39: | Line 38: | ||
| * The first line is an XML declaration which defines the XML version and the character encoding used in the document. | * The first line is an XML declaration which defines the XML version and the character encoding used in the document. | ||
| - | * XML tags are case-sensitive and must have a corresponding closing tag. Empty elements can combine the start and closing tag e.g. <br />. | + | * XML tags are case-sensitive and must have a corresponding closing tag. Tags must be properly nested. |
| - | + | ||
| - | * XML tags must be properly nested. | + | |
| * 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. | ||