cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergio Carvalho <scarva...@criticalsoftware.com>
Subject Re: esql:get-string - preserving tags from beeing escaped?
Date Mon, 29 Jan 2001 16:27:58 GMT

You need to use get-xml instead.


On 29 Jan 2001 17:13:11 +0100
kmyksvo@online.no (Kjell M. Myksvoll) wrote:

> Hello,
> 
> I have a database where some fields contains text with embedded
> (well-formed XML) tags. When retriving these fields using the
> esql:get-string operator, the tags gets escaped/rewritten ('<'
> replaced with &lt; and '>' with &gt; and so on).
> 
> This is definitly what one wants in most cases but here I want to
> retrive the string unchanged (for processing by a xslt script later in
> the cocoon processor chain).
> 
> Is this possible?
> 
> (Using the "<![CDATA[ ... ]]>" construct around the said fields in the
> database does not help, as the construct itself gets escaped...)
> 
> I'm using cocoon-1.8.2 with tomcat 3.2.1 (standalone) against a mysql
> (v. 3.22.32) database using the mm.mysql (v. 2.0.2) library. The Java
> version is the IBM Java 1.3 version for linux.
> 
> best regards,
> kmm
> 
> ---------------------------------------------------------------------
> 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>
> 


-- 
Sergio Carvalho
---------------
scarvalho@criticalsoftware.com

If at first you don't succeed, skydiving is not for you

Mime
View raw message