RE: EntityResolver for XML

"Schnitzer, Jeff" <[email protected]>
Newsgroups gmane.comp.web.maverick.general
Message-ID <[email protected]>
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]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.