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

Re: ignore the dtd reference while performing

Subject: Re: ignore the dtd reference while performing
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Thu, 16 Oct 2003 21:56:30 +0200
dtd ignore
Pramodh Peddi wrote:
Can I know if there is any way to ignore the DTD reference, if any, from the
xml file while performing the Transformation? I am using Java (1.4.1)'s API
for Transformation.

Well, actually this is related to parsing rather than XSL.


Have a look at
 http://www.w3.org/TR/REC-xml#sec-rmd
or even remove the doctype decl completely.
If you don't have control over the incoming XML, in most
cases (known encoding) filtering the stream passed as input
can do the same trick.
Also check whether supplying a custom entity resolver
returning an emty source for the DTD system id is acceptable
to you.
Of course this depends whether I guessed correctly what you
meant by "ignore the DTD reference".

J.Pietschmann




XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



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.