• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

XML to PDF in command line

 
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!
I already used Cocoon to convert XML to PDF on the fly with XSL (FOP) on web pages.
Now I am searching for a way to do the same, but on a client in the command line.
It would be necessary to create PDF using ...
a) one XML-source to create one PDF-file
b) one XML-source and different XSL-files to create multiple output (PDF)
c) multiple XML-sources to create one or more PDF-files.
The technology should moreover be able to create PDF-files on a more sophisticated level, which means with table of contents, text-anchors, links, ...
Does anyone know a way how I can do that (maybe with the cocoon environment, XT by James Clark, ...)?
Of course I don�t expect vaste explanations, just one or two valuable links or tipps.
Hope someone can help me,
Robito.
P.S.: In the near future I will use XT to generate HTML from XML-sources.
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Why not use the same FOP stylesheets and the FOP processor to generate the PDFs? I guess you'd only need to write a simple shell script and perhaps a simple "main" Java class to invoke the FOP processor.
 
Robert Jaeger
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!
Thanks, a good advice. That�s the way it goes.
Robito.
 
Can you really tell me that we aren't dealing with suspicious baked goods? And then there is this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic