Re: [xsl] a simple RTF <> XML question

Subject: Re: [xsl] a simple RTF <> XML question
From: Rudolf P. Weinmann <rudolf.weinmann@xxxxxxxxxxxx>
Date: Wed, 18 Oct 2006 11:53:21 +0200
On Wed, 18 Oct 2006 09:45:21 +0200, Abel Braaksma wrote:

>More likely would be, considering the whole scenario, to get XSLFO from
>RTF (xslfo is xml anyway, so this won't violate your first requirement,
>and it gives you a generalized way to keep the font etc data). Do your
>thing with it (but leave it intact as XSLFO, if possible). Now all you
>need is parse the resulting XSLFO into RTF back again. But be not
>surprised if the text layout will be off by a bit.
Fully agree, because RTF and FO intersect.
There are things FO can that RTF can't and vis-versa.
E.g. region-start and region-end and embedded SVG aren't supported by RTF.
On the other hand, RTF form fields, text flow around an object and tabulators
aren't supported in FO.
These are only a few examples, it's not a complete list.

>Not sure there exists a readymade tool to get xslfo from rtf, though.
RTF-to-FO from Novosoft

Current Thread