Do you have control over the document to be read in? If so you might want to
issue
$ xmllint --dropdtd /path/to/desired.xml >
/path/to/desired_without_DOCTYPE.xmlb
before you run the XSLT2 pgm. (Yes, I realize this does not actually answer
the original question, but some folks may find it a useful technique, anyway.)
________________________________
I'm using XSLT 2.0, trying to open an XML file with document(), the XML
file references a DTD that is not available, and document() fails. How
can I get document() to ignore the DTD?
|