cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zvi <the...@ifrance.com>
Subject Re: beginner question
Date Fri, 11 Aug 2000 15:39:55 GMT
Hi Marco,

you need to create <?cocoon-format type="text/xslfo"?>
in your stylesheet table.xsl, like

<xsl:processinginstruction
name="cocoon-format">type="text/xslfo"</xsl:processinginstruction>

hope this will help

Zvi

Marco Pöhler wrote:

> i think it is simple, but a couldn' t found it in the archive.
>
> I'm trying to produce a pdf from a database query.
> I use xsp/SQL-Taglib to query the database and xslt to transform the tags to
> fo-tags.
>
> My Problem now that the document produced by xslt seems to be a valid fo
> Document but cocoon just give a HTML-Document back to me.
> For me, it seems that the formatter isn't called. I set my PIs like this:
>
> <?cocoon-process type="xsp"?>
> <?xml-stylesheet href="table.xsl" type="text/xsl">
> <?cocoon-process type="xslt"?>
> <?cocoon-format type="text/xslfo"?>
>
> <xsp:page ...>
> ...<sql:execute-query>...
> </xsp:page>
>
> My Systems seems to be correct, the examples were Okay.
>
> Any ideas welcome !
>
> tia
>
> Marco Pöhler
> eprofessional GmbH
> Friedensallee 50, 22765 Hamburg, GERMANY
> fon: +49 (0)40 399 278-25, fax: +49 (0)40 399 278-78
> http://www.eprofessional.de , http://www.eprofessional.net
>
>   ------------------------------------------------------------------------
>                   Name: winmail.dat
>    winmail.dat    Type: application/ms-tnef
>               Encoding: base64
>
>   ------------------------------------------------------------------------
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message