cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathaniel Alfred" <>
Subject RE: storing result of <esql:get-xml>
Date Mon, 02 May 2005 20:13:37 GMT
>-----Original Message-----
>From: Leona Slepetis []
>Sent: Montag, 2. Mai 2005 20:18
>Subject: storing result of <esql:get-xml>

Try the following:

>I would like: (what is the type of myVar?)
String myVar;
>  <esql:query>
>    select text
>    from sur_response
>  </esql:query>
>  <esql:results>
>    <esql:row-results>
>      <xsp:logic>
>        myVar = <esql:get-xml column="text"/>;
         myVar = <esql:get-string column="text"/>;
>      </xsp:logic>
>    </esql:row-results>
>  </esql:results>
>  <TR>
>    <TD><xsp:expr>myVar</xsp:expr></TD>
     <TD><util:include-expr xmlns:util="" expr="myVar"/></TD>
>  </TR>
>  <TR> ... some other queries go here ... </TR>
>  <TR>
>    <TD><xsp:expr>myVar</xsp:expr></TD>
>  </TR>

HTH, Alfred.
This message is for the named person's use only. It may contain confidential, proprietary
or legally privileged information. No confidentiality or privilege is waived or lost by any
mistransmission. If you receive this message in error, please notify the sender urgently and
then immediately delete the message and any copies of it from your system. Please also immediately
destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail communications through their
networks. Any views expressed in this message are those of the individual sender, except where
the message states otherwise and the sender is authorised to state them to be the views of
the sender's company.

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

View raw message