The
parse-xml-info
tool of
xml-tools parses the input against the xml grammar and returns the result in
xml-info format. This tool rewrites standard and well-known entities and resolves namespaces.
Optionally (but highly recommended) you can use the standard XML parser in Java instead of the XML grammar of xml-tools. This parser is likely to produce better results and will be much faster. With the
--parser jaxp
option you can specify that you want to
use this parser. You should have configured xml-tools
--with-j2re
to make this work.