cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Baun, Kevin" <kb...@cghtech.com>
Subject RE: unescaping xml in XSP-page
Date Tue, 09 Mar 2004 14:14:58 GMT
I seem to be having a very simular issue.
I have a method which returns generated dhtml, and all of the '<' and '>'
are also replaced with '&lt;' and '&gt;'. Any ideas?
-Mel

-----Original Message-----
From: Joerg Heinicke [mailto:joerg.heinicke@gmx.de]
Sent: Monday, March 08, 2004 8:58 PM
To: users@cocoon.apache.org
Subject: Re: unescaping xml in XSP-page


On 11.02.2004 09:45, Erik Hofstra wrote:

> Hi all,
> 
> I have a problem with my xml-string. From a XSP-page i call a JavaClass
> which makes a SOAP-call. The JavaClass returns a XML document in
> String type.
> When i place this string in my page with <xsp:expr> the '<' and '>' of the
> XML string are replaced with '&lt;' and '&gt;'. Because of this
replacement
> the transformer doesn't 'recognize' the tags.
> I tried <util:include-expr>, unescapeXml, unescapeHtml and even the
> string.replaceAll() method (:S) but nothing helps.
> 
> Does anyone knows how to solve this problem or has an idea?
> 
> Thanks!
> Erik
> 
> btw, here is a piece of my XSP code:
> <xsp:logic>
>     String xmlString = soapCall.doSOAPCall();
> </xsp:logic>
> 
> <xsp:expr>xmlString</xsp:expr>

There are get-xml or getxml elements somewhere. Somebody else can 
probably tell you how to use them exactly, I never used them.

Joerg

---------------------------------------------------------------------
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