You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Cam T <ct...@gmail.com> on 2006/03/07 07:02:48 UTC

xslt using fop 0.90.1 to convert xml to rtf

Hello

Have servlet to use FOP 0.90.1 to render from fo to pdf from the examples to
work. Would anyone with example of how to render xml to rtf using xslt...
Would one need to render from xml to fo first and then to rtf. If so is
there any standard xslt to render xml to fo?

All suggestions much appreciated.

Many thanks.

Re: xslt using fop 0.90.1 to convert xml to rtf

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
You're mixing things. You're using XSLT exclusively to convert any XML
to XSL-FO. FOP will then intepret the XSL-FO and convert it to the
desired target format (PDF, PS, RTF etc.) depending on the parameters
you pass in. You should have a look at the embedding examples which is a
step-by-step guide how to work with FOP:
http://xmlgraphics.apache.org/fop/0.91/embedding.html#examples

Note that there cannot be a standard XSLT to convert any XML to XSL-FO.
That's simply not possible. Every XSLT is written strictly for one XML
format to produce another XML (or text or HTML) format.

On 07.03.2006 07:02:48 Cam T wrote:
> Hello
> 
> Have servlet to use FOP 0.90.1 to render from fo to pdf from the examples to
> work. Would anyone with example of how to render xml to rtf using xslt...
> Would one need to render from xml to fo first and then to rtf. If so is
> there any standard xslt to render xml to fo?
> 
> All suggestions much appreciated.
> 
> Many thanks.



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org