hi there,
thanx for ur response,
i have made following entries in the pipeline (file sitemap.xmap):
-------------------------
<map:match pattern="pdf/simple.pdf">
<map:generate src="docs/samples/simple-page.xml"/>
<map:transform type="sql">
<map:parameter name="use-connection" value="psql"/>
</map:transform>
<map:transform src="stylesheets/page/simple-page2fo.xsl"/>
<map:serialize type="fo2pdf"/>
</map:match>
-------------------------
and following is the entry in xml file:
---------------------
<execute-query xmlns="http://apache.org/cocoon/SQL/2.0">
<query>
select id,name1,name2,strength from table1
</query>
</execute-query>
---------------------
hope this makes clear.
ashish
On Tue, 14 Oct 2003, Joerg Heinicke wrote:
> What's your pipeline setup? It's hard to give valuable hints without
> knowing your transformer stations. In general you should add a further
> one, to make them more reusable and easier to maintain/understand.
>
> Joerg
>
> On 13.10.2003 20:12, Ashish Kumar wrote:
>
> > hi all,
> > i have to generate dynamic pdf from quering database and put it in
> > proper format (tables). for that i have put an xml file with sql
> > queries and modified simple-page2fo.xsl file with codes like following:
> >
> > <xsl:template match="sql:strength">
> > <fo:block font-size="13pt" space-before.optimum="12pt" text-align="center">
> > <xsl:apply-templates/>
> > </fo:block>
> > </xsl:template>
> >
> > this is working fine, but i have to put many such entries in table in
> > proper format. i m quite new to xsl:fo and don't know where to proper
> > tags for tables (alongwith sql tags) tags and borders in the xsl file for
> > formatted pdf output.
> > plz anyone tell me on how to add the tags.
> > can i have a sample file regarding it.
> > also is there no graphical editor for xsl fo (as frontpage fro html)
> >
> > thanking in advance,
> > ashish
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]