cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven Sedlmeyer <ssedlme...@staff.crosswalk.com>
Subject RE: Putting the esql:get-ascii inside CDATA block
Date Wed, 10 Apr 2002 21:12:27 GMT
And the answer is....

<cdata-section-elements>tagname</cdata-section-elements>

which causes the xml serializer to put text inside a <tagname/> node into a
cdata block.

Christian, thanks for the time and energy, I appreciate the effort.  I
finally found this in the code for AbstractSerializer though I'd bet it's
documented somewhere that I couldn't find...

Steve Sedlmeyer

-----Original Message-----
From: Christian Haul [mailto:haul@dvs1.informatik.tu-darmstadt.de]
Sent: Monday, April 08, 2002 12:20 PM
To: cocoon-users@xml.apache.org
Subject: Re: Putting the esql:get-ascii inside CDATA block


On 05.Apr.2002 -- 11:22 AM, Steven Sedlmeyer wrote:
> I'm pulling out a CLOB that may or may not have embeded HTML which may or
> may not be XHTML...  
> 
> I then need to pass it on through a couple of stylesheets to format the
> results for a browser.  I'm trying to put the text into a CDATA block so
> that the embeded tags will not get processed by later stylesheets.
> 
> My thought to date has been that I need the text data to be inserted into
> the CDATA block without having the "<" and ">" chars escaped so that any
> HTML tags arrive at the end of the pipeline intact.  Additionally, in all
> three methods, the "<" and ">" of any XML tags I attempt to insert around
> the text ("<![CDATA[]]>" and in the last case "<body_text/>" end up also
> escaped and thus treated as text by later stylesheets.
> 

I must apologize for being stupid.

You're right and my believes are wrong. I will try to think about a
solution for your problem but obviously I'm not firm enough with that
part of cocoon.

	Chris.

-- 
C h r i s t i a n       H a u l
haul@informatik.tu-darmstadt.de
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

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

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