by Bayron » Fri Aug 19, 2011 1:29 am
Karinha,
From
http://www.pdf995.com/faq_dev.html read the following:
What is the easiest way to convert XML to formatted PDF?
OmniFormat will convert XML to PDF using a DOC file as a layout template. It may be run from the command line. It is free and may be downloaded from
http://www.omniformat.com .
I have not tested it but it may be what you need....
XML Conversion
OmniFormat may be used to dynamically convert XML data to any output format supported by OmniFormat including PDF. A Microsoft Word file is used as a template to supply layout information. OmniFormat replaces fields in the Word template with values specified in the XML file. Next it converts the document to the final format.
Sample (acme.xml):
<ORDER
OutputFile="c:\invoices\acme corporation.pdf"
WordTemplate="c:\templates\invoice template.doc"
CompanyName="Acme Corporation Inc."
Address1="345 Garden Avenue"
Address2="San Gorge, CA 94301"
Item1="Widgets"
Quantity1="2"
Price1="500"
Item2=""
Quantity2=""
Price2=""
Total="500"
/>
OmniFormat will process acme.xml by
1. Substitution of the name-value pairs into "c:\templates\invoice template.doc" followed by
2. Conversion to c:\invoices\acme corporation.pdf. The template file is not modified by the process. "OutputFile" and "WordTemplate" are reserved names.
Note: PdfEdit995 may be used to batch convert Microsoft Office documents to PDF.
=====>
Bayron Landaverry
(215)2226600 Philadelphia,PA, USA
+(502)46727275 Guatemala
MayaBuilders@gMail.comFWH12.04||Harbour 3.2.0 (18754)||BCC6.5||UEstudio 10.10||
Windows 7 Ultimate
FiveWin, One line of code and it's done...