On Feb 22, 2007, at 21:55, Arturo Perez wrote:

Arturo,

I really need help on making this work with 0.92beta. I could probably upgrade to 0.93 if that works better. Please note that I have this working
for a plain XSL that converts XML to HTML where FOP is not involved.

I put the URIResolver on the FOPFactory like this:
        fopFactory.setURIResolver(ArticleHelper.getURIResolver());

The transforming code for the PDF looks like:
<snip />
        Transformer transformer = foFilter.getTransformer();
        Templates psmiTemplates = TemplatesManager.getTemplates("psmi");
SAXTransformerFactory stf = (SAXTransformerFactory) TransformerFactory.newInstance();
        XMLFilter psmiFilter = stf.newXMLFilter(psmiTemplates);

Before we go any further:
Did you try Jeremias' suggestion and set the URIResolver on both the FopFactory and the TransformerFactory?


Cheers,

Andreas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to