Re: [xep-support] Using catalog resolver of XEP

From: Alexei Gagarinov <agagarinov@renderx.com>
Date: Wed May 14 2008 - 07:56:05 PDT

Hi Martinus,

> I want to know if it is possible to assign a catalog resolver to XEP from within Apache Cocoon.

Yes.
If you use XSL-FO as a source, just set the appropriate Java System
properties.

Roughly,

System.setProperty("com.renderx.sax.entityresolver",
"org.apache.xml.resolver.tools.CatalogResolver");
System.setProperty("com.renderx.jaxp.uriresolver",
"org.apache.xml.resolver.tools.CatalogResolver");

in any place of your Java code (before calling the format() method, of
course).

Best regards,
   Alexei Gagarinov
RenderX

---
www.renderx.com
www.renderx.net
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
Received on Wed May 14 08:59:30 2008

This archive was generated by hypermail 2.1.8 : Wed May 14 2008 - 08:59:37 PDT