You can specify an entity resolver by redefining the xsl transform
module.  Look at the javadocs for XSLTransformFactory:

http://mav.sourceforge.net/api/org/infohazard/maverick/transform/XSLTran
sformFactory.html

(just put that snippet of xml in the <modules> section)

I'm not sure this has been thoroughly tested, so let me know if you have
any trouble.

Jeff Schnitzer
[EMAIL PROTECTED]

> -----Original Message-----
> From: Tim Bardzil [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 05, 2003 12:20 PM
> To: [EMAIL PROTECTED]
> Subject: [Mav-user] EntityResolver for XML
> 
> I was wondering if its possible to specify an EntityResolver for an
XML
> document that's going through an XSLT transform.  I need to map the
> publicID of the DOCTYPE declaration to a local file on my PC so the
> server doesn't try to pull it from the web.  I do this in other parts
of
> my application using the Apache XML Catalog Resolver.
> 
> Thanks,
> Tim Bardzil
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Etnus, makers of TotalView, The
> debugger
> for complex code. Debugging C/C++ programs can leave you feeling lost
and
> disoriented. TotalView can help you find your way. Available on major
UNIX
> and Linux platforms. Try it free. www.etnus.com
> [INVALID FOOTER]



-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
[INVALID FOOTER]

Reply via email to