Braumüller wrote:
is in the wwww out there, some example how to chain via a java-servlet maybe in
xalan a transformation via xslt from xml to xhtml
You'd need a stylesheet designed for this specific XML vocabulary.
and from xhtml apply another xslt to transform to xsl-fo (for this step exists
ready to use stylesheets)and then generate pdf.
Two transformations for one request could be rather expensive. Cocoon[1]
is great in doing stuff like that with good performance (by either using
SAX transformers or caching XSLT transforms) and reusability of
components [2] but it's learning curve could be too much for your needs.
A sample of a servlet based transformer can be found at [3]. You can
also use some tag library within JSP for this stuff if it makes you more
confortable, take a look at [4].
[1] http://cocoon.apache.org/
[2] combined into 'pipelines' like
read>transform>transform>whatever>serialize
[3] http://www.w3.org/2001/05/xslt
[4] http://jakarta.apache.org/taglibs/
hth,
Manos