Hello Wim VN

Thank you for your reply.

Yes, what you metion is exactly what I want to do.

I am not sure but I believe I can use the xsl file (xhtml2fo.xsl), provided
by antennahouse(http://www.antennahouse.com/XSLsample/XSLsample.htm), to
lookup the html translations. This is what you mean with 'have the XSL
transformation lookup that <introduction> tag'?


Yours Sincerely




Christof


Wim VN wrote:
> 
> Hello Christof,
> 
> I'm not sure but I think the solution can be found in XSLT and not in FOP.
> 
> If I understand correctly: you use an XSL transformation to go from a
> source xml file to an intermediate XSL-FO file. Afterwards you process
> this with Apache FOP to a final PDF document.
> Within the xml there is a tag that holds html content. You wish this
> content to be interpreted.
> 
> Is it not possible to have the XSL transformation lookup that
> <introduction> tag and make sure it is converting the html content to FO
> as well?
> 
> I am not an XSLT expert and if I'm not mistaken other forums might be a
> better choice to get help on this specific problem.
> 
> Good luck with your project
> Wim
> 
> 
> echoo wrote:
>> 
>> Dear
>> 
>> 
>> I have a problem which I don't know how to solve:
>> 
>>     I have an xml file which I want to transform to:
>>     - a pdf file.
>>     - a xsl file.
>> 
>>    For this, I use Apache FOP (as I am working in a Java environment).
>>     The result of this is nice except for one thing:
>> 
>>     My xml has one field which is called 'introduction' and which accepts
>> HTML contents.
>>     After transformation, the plain html is shown in the pdf file.
>> 
>>     I want the HTML to be interpreted.
>> 
>> 
>> Yours Sincerely
>> 
>> 
>> 
>> Christof
>> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/FOP---HTML2PDF-tp30748316p30757603.html
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to