Alternatively, you can easily write a few classes that translate DOM objects into COS objects. We have done this in our product. It took very few days. XSLT/XSL-FO is one way to do the transformations using that methodology. We did not use it as our target is mobile forms which do not require very complex layouts. Most are horizontally centered and vertically flowed.
Duane Nickull *********************************** Technoracle Advanced Systems Inc. Consulting and Contracting; Proven Results! i. Neo4J, PDF, Java, LiveCycle ES, Flex, AIR, CQ5 & Mobile b. http://technoracle.blogspot.com t. @duanechaos "Don't fear the Graph! Embrace Neo4J" On 2012-11-30 5:35 AM, "Jeremias Maerki" <[email protected]> wrote: >An ideal candidate for that sort of thing is XSLT/XSL-FO with Apache FOP: >http://xmlgraphics.apache.org/fop/ > > >Jeremias Maerki > > >On 30.11.2012 13:29:50 Patrik Berzander wrote: >> Hi all, >> >> The PDFBox application can create PDF from text files, which is great. >> But is there anyone out there that knows if it's possible to create a >>PDF from structured content such as XML? >> >> I would like to to have a simple web form where someone can upload an >>image, type some text and from that we would create a PDF. >> There would be a fixed layout of course. >> >> If anyone know if this is possible, please let me know. >> >> _____________________________________________________ >> >> Vänliga hälsningar / Best regards, >> Patrik Berzander >> >> Laidback Solutions AB >> Norrköping Sweden >> >> Mobile: +46 11-12 84 36 >> Office: +46 11-12 75 80 >> www.laidbacksolutions.se >> _____________________________________________________ >> >

