cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "julien bloit" <Julien.Bl...@ircam.fr>
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" <crine@4dconcept.fr>
To: <users@cocoon.apache.org>
Sent: Thursday, November 06, 2003 2:29 PM
Subject: XSP session


Hello,

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"?>
<content>
          <attribute>&lt;query RESULTSPACE=3D"R1" VERSION=3D"2.0"&gt;&#13;
&lt;key NAME=3D"moduleid"&gt;&#13;
&lt;elem&gt;&#13;
&lt;anystr/&gt;&#13;
&lt;/elem&gt;&#13;
&lt;/key&gt;&#13;
&lt;/query&gt;&#13;
</attribute>
    </content>

Not so well.

Is there a solution to avoid that ??

Thanks


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


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



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


Mime
View raw message