Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: 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 5:08:00 PM [Jongware] wrote: > So, if PDF is printer output, your question becomes: "how do I print an xml on > unix to pdf?" Actually, the term usually used is "render" rather than print. The usual approach to getting from XML to PDF is to use XSLT stylesheets (using a processor such as Apache Xalan) to style the XML into XSL-FO markup, then run that through a Formatting Objects renderer (such as Apache FOP) to get PDFs. > 2. XML is an abstract data format. If you print XML, you'll get lots and lots of > <this>stuff</this>. XML is raw markup. However, XML-based rendering languages can be as rich as anything Word can do (or more so); XSL-FO is one example thereof. Ideally, the right thing to do is to drop Word from your toolchain; it's too much of a hassle to work with, and its markup is at the wrong level for effective retargeting. (For this kind of task what you want is a semantic markup system). If you can't, be prepared to wrestle with it. -- () ASCII Ribbon Campaign | Joe Kesselman /\ Stamp out HTML e-mail! | System architexture and kinetic poetry | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
