Greetings,
I need to be able to present the form data in plain text form and I'm wondering how to do this most easily. The plain text version would be accessible the same the PDF version currently is Example: http://localhost:8080/orbeon-CE-nightly/fr/orbeon/contact/txt/9eff349bfd95aab8d4d5e048bd25a815?fr-language=en I have several options. I could write my own XSL tranformations which creates the text/plain out of the XHTML representation of the or I could create an XML-FO document out of the form and hand over the text/plain generation to FOP. At first my preferred choice was the XML-FO but then I noticed that the FOP stuff is moved into a legacy package in the version control. I'm also wondering if someone out there already has an XSL which generates the XML-FO document out of the form. j -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
It's true that we haven't used the XSL-FO (implemented by FOP) in a long time.
But only the serializer is in the "legacy" package. The converter is not: https://github.com/orbeon/orbeon-forms/blob/master/src/java/org/orbeon/oxf/processor/converter/XSLFOConverter.java This said, you might be better off using XSLT to produce HTML, and then going through oxf:xhtml-to-pdf, as the normal PDF generation does. It would save you having to create XSL-FO. -Erik On Wed, Jul 27, 2011 at 12:28 AM, Janne Kario <[hidden email]> wrote: > Greetings, > > I need to be able to present the form data in plain text form and I'm > wondering how to do this most easily. The plain text version would be > accessible the same the PDF version currently is > > Example: http://localhost:8080/orbeon-CE-nightly/fr/orbeon/contact/txt/9eff349bfd95aab8d4d5e048bd25a815?fr-language=en > > I have several options. I could write my own XSL tranformations which > creates the text/plain out of the XHTML representation of the or I > could create an XML-FO document out of the form and hand over the > text/plain generation to FOP. At first my preferred choice was the > XML-FO but then I noticed that the FOP stuff is moved into a legacy > package in the version control. I'm also wondering if someone out > there already has an XSL which generates the XML-FO document out of > the form. > > j > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |