Generating RTF using oxf:xslfo-converter

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Generating RTF using oxf:xslfo-converter

cityEHR-2
I have a pipeline which ends by converting an xsl-fo document using the oxf:xslfo-converter.
It works fine returning PDF, but when I add a config to return RTF it doesn't work (still makes PDF, not RTF).

<content-type>application/rtf</content-type> and

<content-type>text/rtf</content-type>

both generate PDF. I have tried with 3.9 and 4.0

Am I doing something wrong in my pipeline or can I not use oxf:xslfo-converter to make RTF?

Thanks for your help!



    <!-- Produce XSL-FO -->
    <p:processor name="oxf:xslt">
        <p:input name="config" href="../xslt/HTML2FO.xsl"/>
        <p:input name="data" href="#html"/>
        <p:input name="parameters" href="#instance"/>
        <p:output name="data" id="FOdocument"/>
    </p:processor>


    <!-- Run FO Converter to generate RTF-->
    <p:processor name="oxf:xslfo-converter">   
        <p:input name="config">       
            <config>             
                <content-type>application/rtf</content-type>
            </config>
        </p:input>
        <p:input name="data" href="#FOdocument"/>  
        <p:output name="data" ref="data"/> 
    </p:processor>

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
 
 
Reply | Threaded
Open this post in threaded view
|

Re: Generating RTF using oxf:xslfo-converter

Erik Bruchez
Administrator
John,

See my reply on Twitter:

https://twitter.com/orbeon/status/331545428048891904

Not saying that it can't be done, but that we have never tried it.

-Erik

On Mon, May 6, 2013 at 1:18 PM, cityEHR <[hidden email]> wrote:

> I have a pipeline which ends by converting an xsl-fo document using the
> oxf:xslfo-converter.
> It works fine returning PDF, but when I add a config to return RTF it
> doesn't work (still makes PDF, not RTF).
>
> <content-type>application/rtf</content-type> and
>
> <content-type>text/rtf</content-type>
>
> both generate PDF. I have tried with 3.9 and 4.0
>
> Am I doing something wrong in my pipeline or can I not use
> oxf:xslfo-converter to make RTF?
>
> Thanks for your help!
>
>
>
>     <!-- Produce XSL-FO -->
>     <p:processor name="oxf:xslt">
>         <p:input name="config" href="../xslt/HTML2FO.xsl"/>
>         <p:input name="data" href="#html"/>
>         <p:input name="parameters" href="#instance"/>
>         <p:output name="data" id="FOdocument"/>
>     </p:processor>
>
>
>     <!-- Run FO Converter to generate RTF-->
>     <p:processor name="oxf:xslfo-converter">
>         <p:input name="config">
>             <config>
>                 <content-type>application/rtf</content-type>
>             </config>
>         </p:input>
>         <p:input name="data" href="#FOdocument"/>
>         <p:output name="data" ref="data"/>
>     </p:processor>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Orbeon Forms" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [hidden email].
> To post to this group, send email to [hidden email].
>
>

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].