
2
XML Syntaxes
2.1 XML SYNTAX CHECKING 55
2.2 THE IDEA OF MARKUP 62
2.3 XML STRUCTURE 64
2.3.1 Inverted Tree Structure 64
2.3.2 Creating Layers of Elements 67
2.3.3 Comments in XML 68
2.3.4 Order of Elements 73
2.4 ORGANISING INFORMATION
IN XML 75
2.4.1 Classifying Information as per
its Importance 75
2.4.2 Adding the Details 76
2.4.3 Transforming Information into
an XML Format 77
2.5 CREATING WELL-FORMED XML
DOCUMENTS 81
2.5.1 The <?xml> Tag and the Root Element 81
2.5.2 Opening and Closing of Tags 83
2.5.3 Empty Elements 83
2.5.4 Entities 84
2.5.5 Element Naming and Nesting
Conventions 87