cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeroen Reijn" <j.re...@hippo.nl>
Subject RE: Re[2]: SQL queries in Cocoon
Date Mon, 26 Apr 2004 15:36:55 GMT
Hi DoomHammer,

i was guessing you would transform your xml after the generation.
By useing <xsl:value-of disable-output-escaping="yes" select="."/> in your xslt you
could make the entities become elements again.

Greetings,

Jeroen

-----Original Message-----
From: DoomHammer [mailto:DoomHammer@poczta.wp.pl]
Posted At: Monday, April 26, 2004 5:22 PM
Posted To: Cocoon User List
Conversation: Re[2]: SQL queries in Cocoon
Subject: Re[2]: SQL queries in Cocoon


Hello Jeroen,

Monday, April 26, 2004, 4:58:30 PM, you wrote:

JR> You could try it with
JR> <xsl:value-of disable-output-escaping="yes" select="."/>

Nice, but... where? :)
I'm a newbieso I'm not so familiar with it...
My page looks like this:

<page xmlns:sql="http://apache.org/cocoon/SQL/2.0">
<title>Hello</title>
<content>
<para>
This is my first Cocoon2 page filled with sql data!
</para>
<execute-query xmlns="http://apache.org/cocoon/SQL/2.0">
        <query>
        select id,name from menu
        </query>
        <execute-query>
                <query>
                select id,name,description from list where MenuID = <ancestor-value sql:name="id"
sql:level="1"/>
                </query>
                <execute-query>
                        <query>
                        select id,name from setlist where ListID = <ancestor-value sql:name="id"
sql:level="1"/>
                        </query>
                        <execute-query>
                                <query>
                                select id,content from exlist where SetID = <ancestor-value
sql:name="id" sql:level="1"/>
                                </query>
                        </execute-query>
                </execute-query>
        </execute-query>
</execute-query>
</content>
</page>

JR> Greetz,

JR> Jeroen

-- 
Best regards,
 DoomHammer                            mailto:DoomHammer@poczta.wp.pl


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message