cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brent L Johnson" <>
Subject esql, get-xml and xsp:logic
Date Mon, 20 Aug 2001 23:15:41 GMT
I've been using <esql:get-xml column="COLNAME" root="fragment"/> and it's
been working perfectly.  But, I've found a problem when trying to set a
String inside an <xsp:logic> tag to that.  Make any sense?  Here's the code
that works...

TEST: <esql:get-xml column="mycol" root="fragment"/>

But, I want to set a string to that value.. e.g.
String myval = <esql:get-xml column="mycol" root="fragment"/>;

Doing this I get the following error:
Incompatible type for =. Can't convert org.w3c.dom.Element to

Then I tried this (which ALMOST works):
String myval = "" + <esql:get-xml column="mycol" root="fragment"/>;

Unfortunately - this only gives me the string "[fragment: null]".  Does this
have something to do with the order that the XSP and XSL is processed???


- Brent

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