document ::= prolog element Misc*
- Prolog:
<?xml version="1.0"?>
- Comments ->
<!-- This is a Comment -->
- Processing Instructions:
<?xml-stylesheet href="JavaXML.html.xsl" type="text/xsl"?>
<?xml-stylesheet href="greeting.css" type="text/css"?>
- Element:
- Root Element contains more elements
- Exactly one root element
- Misc:
- Comments
- Processing Instructions
- Whitespaces