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

RE: Re: Saxon + xalan - error

Subject: RE: Re: Saxon + xalan - error
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Wed, 16 Jun 2004 23:56:30 +0100
RE:  Re: Saxon + xalan - error
> 
> Is there any way to make the changes in the xhtml (in
> the dtd path) via an xsl file. i.e. the xhtml file
> should not be opened and edited by the user, it should
> be done automatically by a xsl file. something like a
> copy paste everything but change the
> 
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
>  Transitional//EN"
> 

I don't think you have yet understood that it is the XML parser, not the
XSLT processor, that is trying to fetch the DTD from the web. To prevent it
doing this, you either need to modify the XML source before the XML parser
sees it, or you need to use a mechanism such as an EntityResolver or OASIS
catalogs to cause the XML parser to fetch the DTD from somewhere other than
the location identified by this URI.

Michael Kay


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.