Site Tools


Hotfix release available: 2026-07-14a "Mort". upgrade now! [57.1] (what's this?)
New release available: 2026-07-14 "Mort". upgrade now! [57] (what's this?)
Hotfix release available: 2025-05-14b "Librarian". upgrade now! [56.2] (what's this?)
Hotfix release available: 2025-05-14a "Librarian". upgrade now! [56.1] (what's this?)
New release available: 2025-05-14 "Librarian". upgrade now! [56] (what's this?)
Hotfix release available: 2024-02-06b "Kaos". upgrade now! [55.2] (what's this?)
Hotfix release available: 2024-02-06a "Kaos". upgrade now! [55.1] (what's this?)
New release available: 2024-02-06 "Kaos". upgrade now! [55] (what's this?)
Hotfix release available: 2023-04-04b "Jack Jackrum". upgrade now! [54.2] (what's this?)
Hotfix release available: 2023-04-04a "Jack Jackrum". upgrade now! [54.1] (what's this?)
New release available: 2023-04-04 "Jack Jackrum". upgrade now! [54] (what's this?)
Hotfix release available: 2022-07-31b "Igor". upgrade now! [53.1] (what's this?)
Hotfix release available: 2022-07-31a "Igor". upgrade now! [53] (what's this?)
New release available: 2022-07-31 "Igor". upgrade now! [52.2] (what's this?)
New release candidate 2 available: rc2022-06-26 "Igor". upgrade now! [52.1] (what's this?)
New release candidate available: 2022-06-26 "Igor". upgrade now! [52] (what's this?)
Hotfix release available: 2020-07-29a "Hogfather". upgrade now! [51.4] (what's this?)
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/07/30 07:31]
160.179.5.111 old revision restored (2026/07/10 21:38)
— (current)
Line 1: Line 1:
- 
- 
-===== XML Cheat Sheet ===== 
- 
-I stumble across XML documents intermittently and every time I need to review the basics again. This is a cheat sheet so that I can review it whenever I need to. Information here is a summarized form of the [[http://www.w3schools.com/xml/default.asp | XML Tutorial]] 
- 
-==== What is XML ==== 
- 
-E**X**tensible **M**arkup **L**anguage (XML) is a markup language designed to describe data. It has no predefined tags and uses a Document Type Definition (DTD) or an XML Schema to describe the data. An XML document together with its DTD or XML Schema is self-descriptive. 
- 
-XML uses text files to store data and can be used to create new languages e.g. WAP, WML, XHTML etc. 
- 
-==== XML Syntax ==== 
- 
-A simple XML document : 
- 
-<code> 
-<?xml version="1.0" encoding="ISO-8859-1"?> 
-<note date="12/11/2002"> 
-<to>Tove</to> 
-<from>Jani</from> 
-</note> 
-</code> 
- 
-  * 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. Tags must be properly nested. 
- 
-  * An XML document must have a root element (note in the above). All elements may have child elements. 
- 
-  * 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). 
- 
-  * <!-- This is a comment --> 
- 
-==== XML Elements ==== 
- 
  
notes/xml_cheat_sheet.1785421916.txt.gz ยท Last modified: 2026/07/30 07:31 by 160.179.5.111