aboutsummaryrefslogtreecommitdiff
path: root/misc/xml-grammar
blob: 023e166cc30ed60aa4a6467576a1b339a12808bb (plain)
1
2
3
4
5
6
7
document ::= prolog element misc*

prolog ::= XMLDecl misc* (doctypedecl misc*)?

XMLDecl ::= '<?xml' VersionInfo EncodingDecl? SDDecl? ws? '?>'

VersionInfo ::= ws