On 31.01.2004 21:48, Flavio Palumbo wrote:

Hi all,

i got a strange problem using getxml ; if i try to use it only to display
the content of the fragment everything is fine, but if i try to evaluate
a variable
with the same code it doesn't work. Here is the code :

Not that I'm familiar with session:getxml, but what does "doesn't work" mean?


this works
<p>
  codice societa':<session:getxml context="authentication" 
path="/authentication/data/socOM"/>;
</p>

Have a look at the output code: Does session:getxml return an element or just text?


this doesn't work

<parameter name="test">
  <xsp:attribute name="value"><session:getxml as="string" context="authentication"
path="/authentication/data/socOM"/></xsp:attribute>
</parameter>

Try to put it not into an attribute, maybe that's the problem. You can also have a look into the resulting Java code. Maybe there it is more obvious.


Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to