cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From S├ębastien Lefebvre <>
Subject Problem getting xml from DB
Date Wed, 22 Aug 2001 08:03:03 GMT

I try to get xml from my DB (MySQL), here is my piece of code :
<esql:query>SELECT piano from TFiche where 
<esql:get-xml column="piano"/>

node <sebas> is a child of <page>  so I have /page/sebas

here is the piece of xml in my DB :


When I try to apply a template in my XSL stylesheet, it does not apply 
the template but, instead, write the values of <couleurclaire> and 

<xsl:apply-templates select="/page/sebas"/

<xsl:template name="/page/sebas"/>
<h1>Hello</h1> <!--DOES NOT DISPLAY "HELLO" -->

Does you have any idea (I'm sure you have ;-) ) ?
What does the "root" argument of esql:get-xml mean ?

Thanks a lot


Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message