[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Ignoring a DTD with document()
I don't think you can ignore the dtd purely from xslt. If your xslt system gives you control over the xml parser you may be able to configure that or supply a catalogue that specifies a different location for a (possibly empty) dtd that is available. Failing that you could read the file with unparsed-text() write it out without the dtd then read it back again with doc David On Fri, 19 Apr 2024 at 21:45, Mark Giffin m1879@xxxxxxxxxxxxx < xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: > 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? > > Thanks, > Mark
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|