[xep-support] Using catalog resolver of XEP

Alexei Gagarinov agagarinov at renderx.com
Wed May 14 07:56:05 PDT 2008


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 at 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



More information about the Xep-support mailing list