You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xsp-dev@xml.apache.org by "Parmley, Scott C." <pa...@paradigmtech.com> on 2002/11/15 00:09:40 UTC

xsp:expr advice

Hello everyone.

I need some advice reguarding <xsp:expr>.  First, let me give you the scenerio:  I am writing a session bean that contains a method whose ouput is xml tags.  The intention is to take this output and print it in my xsp document, similarly to JSP out.write().  The problem I am facing is that that data is printed, but the tags are all escaped using &lt; and &gt; instead of < and >.  

Any advice as to what I should do?
NOTE:  The return type of my method is a String.

Thanks in advance!
-Scott

Re: xsp:expr advice

Posted by Matt Sergeant <ma...@sergeant.org>.
On Thu, 14 Nov 2002, Parmley, Scott C. wrote:

> Hello everyone.
>
> I need some advice reguarding <xsp:expr>.  First, let me give you the
> scenerio:  I am writing a session bean that contains a method whose
> ouput is xml tags.  The intention is to take this output and print it in
> my xsp document, similarly to JSP out.write().  The problem I am facing
> is that that data is printed, but the tags are all escaped using &lt;
> and &gt; instead of < and >.
>
> Any advice as to what I should do?
> NOTE:  The return type of my method is a String.

I don't believe the Cocoon version of XSP can support this via xsp:expr.

BTW: This list is not for XSP user questions. It is for XSP development
issues - to ensure both AxKit and Cocoon are working toward the same spec.
Personally though I think we should shut this list down now, as it's job
appears to be done (I haven't seen a need to extend the core XSP spec in
about 2 years).

-- 
<!-- Matt -->
<:->Get a smart net</:->