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:[EMAIL PROTECTED]]
Sent: Monday, April 08, 2002 12:20 PM
To: [EMAIL PROTECTED]
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
[EMAIL PROTECTED]
    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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to