cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Je vous site <cont...@je-vous-site.com>
Subject passing a Xml string as a session attribute
Date Tue, 19 Mar 2002 19:31:01 GMT
Hello,

I have  
        <id>
            <xsp:logic>
                String s = 
(String)request.getSession().getAttribute("data");
            </xsp:logic>
            <xsp:expr>s</xsp:expr>
        </id>
it work fine when s is a simple string, "<sub>5</sub>" or 
 "&lt;sub&gt;5&lt;/sub&gt;". I want the value 5 in my xsl so I've tried 
the xpath : //id/sub to set a variable but nothing append.

Could you explain me why it doesn't work ?

thank you for any help


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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


Mime
View raw message