[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Ignoring a DTD with document()

Subject: Re: Ignoring a DTD with document()
From: "Bauman, Syd s.bauman@xxxxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 19 Apr 2024 21:08:10 -0000
Re:  Ignoring a DTD with document()
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?

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.