[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xml-apache-general
Subject:    Re: Xalan & FOP for PDF transformations
From:       "Sean Kelly" <kelly () ad1440 ! net>
Date:       2001-01-29 2:29:20
[Download RAW message or body]

> <xsl:output method="pdf"/>
> 
> Is this correct or should I be using FOP?

You should be using FOP.  Your output method "xml" in
this case, as FO is represented in XML.  You'll first
use Xalan to transform your input XML into FO XML, and
then FOP to transform FO XML into PDF.

> There doesn't seem to be any code samples that explain
> how to perform the XML->PDF transformations.

For a sample, take a look at my XML resume package.
Given a resume or curricula vita in XML format, it
generates either HTML, or FO followed by PDF versions of
it.  It's at

    http://www.ad1440.net/~kelly/sw/xml-resume/

--k



---------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic