Basic Structure
Documents
What is an XML Document?
Structure of an XML Document
<?xml version="1.0" encoding="UTF-8"?>
<root>
<child>Content</child>
<child>
<subchild>More content</subchild>
</child>
</root>Valid vs Well-Formed
Type
Description
Declaration
XML Declaration
Syntax
Attributes
Attribute
Description
Default
Example
Tags & Elements
Tags and Elements
Syntax Examples
Rules
Example
Attributes
What are Attributes?
Syntax
Rules
Example
Comments
Rules
CDATA Sections
What is CDATA?
Syntax
Rules
Example
Last updated