Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Word 2007 XML merge & PDF conversion on Unix >Thread Next - Re: Word 2007 XML merge & PDF conversion on Unix Re: Word 2007 XML merge & PDF conversion on UnixTo: NULL Date: 8/4/2007 9:34:00 PM "Praveen Mohanan" <nospam@n...> wrote in message news:_R3ti.1360$qa3.1073@n...... > I can convert all the Word documents to Word 2007 xml & store on unix > platform. > > The Q I have is If I use xml/xslt to merge the data with the Word XML > document & then store it back as an xml on unix ,how do I convert into PDF? 1. You don't "convert" something to PDF. Ever. Please repeat for yourself. PDF is printer output, just as the paper from your printer. Have you ever converted something to paper? So, if PDF is printer output, your question becomes: "how do I print an xml on unix to pdf?" 2. XML is an abstract data format. If you print XML, you'll get lots and lots of <this>stuff</this>. "Hey, now I *know* you're wrong! My Word file can be converted to XML!" Not so. Your Word file, saved as XML, is not different from the Word .DOC file (well, it shouldn't be). It is saved in another output format, yes, but you can't print your .DOC file to a printer either. (No you can't. You need Word to read the byte codes and interpret them for you.) 3. The only way you can print your XSLT'ed file in the format you expect (a nice-looking text document, not line after line of <..>'s) is if you ensured your output XML format is still readable by Word. Then you can use Word to print to PDF. [Jw] | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
