aboutsummaryrefslogtreecommitdiff
path: root/misc/xml-grammar
diff options
context:
space:
mode:
Diffstat (limited to 'misc/xml-grammar')
-rw-r--r--misc/xml-grammar7
1 files changed, 7 insertions, 0 deletions
diff --git a/misc/xml-grammar b/misc/xml-grammar
new file mode 100644
index 0000000..023e166
--- /dev/null
+++ b/misc/xml-grammar
@@ -0,0 +1,7 @@
1document ::= prolog element misc*
2
3prolog ::= XMLDecl misc* (doctypedecl misc*)?
4
5XMLDecl ::= '<?xml' VersionInfo EncodingDecl? SDDecl? ws? '?>'
6
7VersionInfo ::= ws