Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
XML to PDF conversion on Linux Platform?
Hi
I have few XML documents on Linux platform. I will be storing all the xml documents in one directory and I want to run some executable files with some arguments may be. This executable files should convert those xml file to pdf file and dump it in another directory.
Is there any scripts/C/C++ programs so that I can call those routines in my routines dynamicall?
Any help is highly appreciated.
4 Answers
- 1 decade agoFavorite Answer
There's no single right answer to this, because XML can be used for so many things. It's sort of like saying, how can I best move my vehicle from Australia to Hawaii and forgetting to say whether it's a car or a ship.
There is an open source Apache program called FOP (in Java) and a C program called xmlroff, which can format XML files; they need an XSL-FO style sheet to be written to say how to format the documents. For many sorts of XML file these style sheets have already been written.
Another approach is to convert the documents to HTML and use CSS, or load them in AbiWord or OpenOffice. Another would be to use paseeportout or scribus (open source programs) to do the formatting; passeportout needs an XSL stylesheet though, and is hard to spell :-)
http://www.w3.org/Style/XSL/ has some links to other tools.
- Anonymous5 years ago
I don't know the command but, you can mount the fat file system on linux, and make the drive share b/w 2 OSs. else use floppy/CD and copy the files and copy them in back in other OS.