You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Klaus Kristiansen <kl...@Q8.DK> on 2002/10/11 11:13:31 UTC
Dynamic data (was fop jsp)
I am working on a program where the user enters data on an HTML-form.
The program then produces a PDF document, which is mostly the same
text every time, but with the entered data embedded.
On the FOP-site there are some tantalizing mentions of something
called ElementMappings, which sounds like it could be what I need.
But all my searching has not turned up a description of how to
actually do it.
So I ask: Is it ElementMappings I need, or something else? Is that
something described anywhere?
-----Oprindelig meddelelse-----
Fra: Oleg Tkachenko [mailto:olegt@multiconn.com]
Sendt: 10. oktober 2002 12:50
Til: fop-user@xml.apache.org
Emne: Re: fop jsp
Klaus Kristiansen wrote:
> Are ElementMapping(s) described anywhere? Can you use them for dynamic
> data?
What do you mean?
--
Oleg Tkachenko
eXperanto team
Multiconn International, Israel
Re: Dynamic data (was fop jsp)
Posted by Oleg Tkachenko <ol...@multiconn.com>.
Klaus Kristiansen wrote:
> I am working on a program where the user enters data on an HTML-form.
> The program then produces a PDF document, which is mostly the same
> text every time, but with the entered data embedded.
>
> On the FOP-site there are some tantalizing mentions of something
> called ElementMappings, which sounds like it could be what I need.
> But all my searching has not turned up a description of how to
> actually do it.
>
> So I ask: Is it ElementMappings I need, or something else? Is that
> something described anywhere?
You don't need nothing special, just build xml on server-side from
posted user data, provide your stylesheet, run fop and enjoy.
Look at source of FopServlet - that's almost what you want.
--
Oleg Tkachenko
eXperanto team
Multiconn International, Israel