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 Евгений Король <ff...@gmail.com> on 2019/10/11 11:42:47 UTC
About converting HTML to FO to RTF
Hello. I can't to produce valid XSL FO file for converting FO to RTF
like in example ExampleFO2RTF. How its can be done fully write (good
if it will be with styles)? I tried project
http://html2fo.sourceforge.net/ but had a errors like
javax.xml.transform.TransformerException:
org.apache.fop.fo.ValidationException: For "fo:simple-page-master",
"fo:region-body" must be declared before "fo:region-before"! (See
position 11:37)
and some else. Please help me ASAP.
Evgeny
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: About converting HTML to FO to RTF
Posted by Евгений Король <ff...@gmail.com>.
Hello. No, i do not send issue to them. I saw this error about order. :)
пн, 14 окт. 2019 г., 17:16 Chris <bo...@hotmail.com>:
> Seems to be a problem with the HTML2FO XSL. Did you report the issue to
> them? XSL-Fo specification dictates a strict order between region
> elements under fo:simple-page-master
>
> Thanks,
>
> Chris
>
> On 11/10/2019 12:42, Евгений Король wrote:
> > Hello. I can't to produce valid XSL FO file for converting FO to RTF
> > like in example ExampleFO2RTF. How its can be done fully write (good
> > if it will be with styles)? I tried project
> > http://html2fo.sourceforge.net/ but had a errors like
> > javax.xml.transform.TransformerException:
> > org.apache.fop.fo.ValidationException: For "fo:simple-page-master",
> > "fo:region-body" must be declared before "fo:region-before"! (See
> > position 11:37)
> > and some else. Please help me ASAP.
> >
> > Evgeny
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> > For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> >
> > .
>
>
>
Re: About converting HTML to FO to RTF
Posted by Chris <bo...@hotmail.com>.
Seems to be a problem with the HTML2FO XSL. Did you report the issue to
them? XSL-Fo specification dictates a strict order between region
elements under fo:simple-page-master
Thanks,
Chris
On 11/10/2019 12:42, Евгений Король wrote:
> Hello. I can't to produce valid XSL FO file for converting FO to RTF
> like in example ExampleFO2RTF. How its can be done fully write (good
> if it will be with styles)? I tried project
> http://html2fo.sourceforge.net/ but had a errors like
> javax.xml.transform.TransformerException:
> org.apache.fop.fo.ValidationException: For "fo:simple-page-master",
> "fo:region-body" must be declared before "fo:region-before"! (See
> position 11:37)
> and some else. Please help me ASAP.
>
> Evgeny
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
> .