Line | |
---|
1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!-- This DTD is used for the output of Spirit parse tree's through -->
|
---|
3 | <!-- the boost::spirit::tree_to_xml functions. -->
|
---|
4 | <!ELEMENT parsetree (parsenode)>
|
---|
5 | <!ATTLIST parsetree
|
---|
6 | version CDATA "1.0"
|
---|
7 | >
|
---|
8 | <!ELEMENT parsenode ((value | token)?, parsenode*)>
|
---|
9 | <!ATTLIST parsenode
|
---|
10 | rule CDATA #IMPLIED
|
---|
11 | >
|
---|
12 | <!ELEMENT value (#PCDATA | token)*>
|
---|
13 | <!ELEMENT token (#PCDATA)>
|
---|
14 | <!ATTLIST token
|
---|
15 | id CDATA #REQUIRED
|
---|
16 | is_root CDATA "0"
|
---|
17 | >
|
---|
Note: See
TracBrowser
for help on using the repository browser.