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

RE: how to influence dtd processing?

Subject: RE: how to influence dtd processing?
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Mon, 31 Jan 2000 09:32:33 -0000
how to use entityresolver
> nsgmls has a command line -i option whereby "-iname" is the same as:
> <!ENTITY % name "INCLUDE">
> 
> i'd like to do the same thing with xt (or any xslt processor). but
> i don't think they support it. i don't even see mention of how
> this can be done via their various servlet apis 

If you use the Java API to Saxon, it allows you to nominate a SAX parser of
your choice. You could nominate a parser which is a simple subclass of John
Cowan's ParserFilter (www.ccil.org/~cowan), which delegates all the work to
a real parser but nominates its own EntityResolver. The EntityResolver could
then select which DTD to use, or construct a DTD dynamically, based on some
environment parameter.

Mike Kay 


 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.