cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "julien bloit" <>
Subject Re: XSP session
Date Thu, 06 Nov 2003 13:44:48 GMT
Have you tried as="object" instead?
just a guess...

----- Original Message ----- 
From: "Lionel Crine" <>
To: <>
Sent: Thursday, November 06, 2003 2:29 PM
Subject: XSP session


I'm trying to get a string from a session parameter.

My transformer put it :
this.session.setAttribute("request", query);

then I have an xsp reading it :
<xsp-session:get-attribute name=3D"request" as=3D"xml"/>

The thing is that the String is not displayed as xml but as text, i.e <=20
or > are written like that :&lt; and &gt;

So here is the source of the document generated by the xsp :

<?xml version=3D"1.0" encoding=3D"UTF-8"?>
          <attribute>&lt;query RESULTSPACE=3D"R1" VERSION=3D"2.0"&gt;&#13;
&lt;key NAME=3D"moduleid"&gt;&#13;

Not so well.

Is there a solution to avoid that ??


Lionel CRINE
Ingénieur Systèmes documentaires
Société : 4DConcept
22 rue Etienne de Jouy 78353 JOUY EN JOSAS
Tel : Fax :

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

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

View raw message