Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Word 2007 XML merge & PDF conversion on Unix

From: Joe Kesselman <keshlam-nospam@-------.--->
To: 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


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent