parsetree.dtd 833 B

123456789101112131415161718192021
  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. <!-- Copyright (c) 2001-2007 Hartmut Kaiser -->
  5. <!-- Distribution under the Boost Software -->
  6. <!-- License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at -->
  7. <!-- http://www.boost.org/LICENSE_1_0.txt) -->
  8. <!ELEMENT parsetree (parsenode)>
  9. <!ATTLIST parsetree
  10. version CDATA "1.0"
  11. >
  12. <!ELEMENT parsenode ((value | token)?, parsenode*)>
  13. <!ATTLIST parsenode
  14. rule CDATA #IMPLIED
  15. >
  16. <!ELEMENT value (#PCDATA | token)*>
  17. <!ELEMENT token (#PCDATA)>
  18. <!ATTLIST token
  19. id CDATA #REQUIRED
  20. is_root CDATA "0"
  21. >