cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mats Norén <mats.no...@spectral.se>
Subject Re: Generator, Components question
Date Mon, 14 May 2001 10:02:34 GMT
Thanks again Donald,

I can build the xinclude element but how do I evaluate it with Xinclude?

<esql:results>
         <esql:row-results>
          <xsp:element name="xinclude" uri="http://www.w3.org/1999/XML/xinclude"
prefix="xinclude" raw-name="xinclude">
               <xsp:attribute name="element" value="slashdot"/>
               <xsp:attribute name="ns"><esql:get-string
column="type"/></xsp:attribute>
               <xsp:attribute name="src">slask</xsp:attribute>
           </xsp:element>
 </esql:row-results>

All I get is the result on the outputstream...

/Mats

Donald Ball wrote:

> On Fri, 11 May 2001, Mats [iso-8859-1] Norén wrote:
>
> > Thanks Donald,
> > Looked at it and I think a can achieve what I want with it, however I´m not
> > sure on the syntax for esql:
> >
> >
> >  <esql:execute-query>
> >        <esql:query>query here</esql:query>
> >        <esql:results>
> >          <esql:row-results>
> >                 <xinclude:include element="component"
> > ns="http://foo.bar.com/foobar" src="url_from_db_here"/>
> >
> > How do I get the value from the db into an element attribute with esql?
>
> <xsp:attribute>
>
> - donald
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org

--
Mats Norén
Spectral AB
Banérgatan 37
115 22 Stockholm
Phone: +46 8 506 335 14
Fax: +46 8 506 335 10
Cellular: +46 704 924 396
mailto:mats.noren@spectral.se



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


Mime
View raw message