cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject RE: esql:results
Date Wed, 11 Apr 2001 16:23:28 GMT
On Wed, 11 Apr 2001 mukesh.jethwa@bankofamerica.com wrote:

> Hi Donald,
> I've tried this but all I get back are the row values.
> All I want to do is create a simple table with column names and their
> values.
>
> - Mukesh
>
> Here is my xml doc -->
> 	<page>
> 		<esql:connection>
> 			<esql:pool>fund_test</esql:pool>
> 			<esql:execute-query>
> 				<esql:query><xsp:expr>select * from
> currency</xsp:expr></esql:query>
> 				     <header>info</header>
> 					<esql:results>
>                           <esql:row-results>
>                                  <row>
>                                      <field1>
>                                            <esql:get-columns/>
>                                      </field1>
>                                  </row>
>
>                           </esql:row-results>
> 					<footer>footer info</footer>
> 				</esql:results>
> 			</esql:execute-query>
> 		</esql:connection>
> 	</page>
>
> AND my xsl sheet ---->

your stylesheet won't work on the xml this page will generate. try
removing the cocoon-process type="xslt" pi and see what the xml output
looks like.

- donald


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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


Mime
View raw message