[Wh2fo-devel] WH2FO Servlet
Status: Beta
Brought to you by:
fabgia
|
From: Giannetti, F. <Fab...@hp...> - 2002-01-11 09:07:10
|
Hi Carlos,
let's go straight to the point 4
I've tried an example made for FOA (MyBank) that uses a lot of
apply-templates with the document function e.g.
<xsl:apply-templates
select="document('accounts.xml')//accounts/account[1]/number" />
and I haven't found any problem at all. I use the xalan that is coming with
the fop dist (xalan 2.0.0 & xerces 1.2.3) using this command line:
java org.apache.xalan.xslt.Process -IN letter.xml -XSL MyBank.xsl -OUT
MyBank.fo
I send you the MyBank example so you can see some "strange" templates.
Hope this helps, Fabio
> -----Original Message-----
> From: Carlos Navarro [mailto:cc...@ho...]
> Sent: 10 January 2002 11:46
> To: wh2...@li...
> Subject: [Wh2fo-devel] Getting familiarized and more
>
>
> Hi Nachev, Matthias and Fabio
>
> Well, for now, i'm trying to get more and more familiarized
> with the code,
> and trying to develop a servlet like FopServlet that helps
> you to get a pdf
> from a word2000-html file instead of fo file.
>
> The basic steps will be:
> 1) Get a Word2000-Html ready for dynamic data
> 2) Get a xml fed up with the data.
> 3) Get the wh2fo's xml, xsl and AttsXsl with wh2fo from 1)
> 4) Get the fo with xalan from 2) and 3)
> 5) Get the pdf with fop from 4)
|