Have you tried as="object" instead?
just a guess...

----- Original Message ----- 
From: "Lionel Crine" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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

Reply via email to