Re: DOCBOOK-APPS: Missing CDATA sections

From
Elliotte Rusty Harold <>
Date
2002-07-11T19:15:43+00:00
ID
p04330101b953884f59ff@[192.168.254.4]
Thread
Re: DOCBOOK-APPS: Missing CDATA sections
At 7:42 PM +0100 7/11/02, fyl2xp1 wrote:
>That is because I am not referring to the HTML style-sheets,
>that was made quite clear in my original email.  It turns out
>that the XSLT spec states:
>
>"CDATA sections should not be used except for text nodes that
>the cdata-section-elements attribute explicitly specifies should
>be output using CDATA sections."

So is your problem that the text did in fact show up but it was not 
enclosed in the CDATA section? If so, you should never have expected 
that it would be. CDATA sections are syntax sugar, nothing more. 
Processes should not and in general do not depend on whether text is 
enclosed in a CDATA section, escaped with character references, or 
escaped with entity references. It's all the same thing. If so, then 
there really wasn't a need to "go through re-inserting the CDATA 
sections."

-- 

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold |  | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|          XML in a  Nutshell, 2nd Edition (O'Reilly, 2002)          |
|              http://www.cafeconleche.org/books/xian2/              |
|  http://www.amazon.com/exec/obidos/ISBN%3D0596002920/cafeaulaitA/  |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.cafeconleche.org/    |
+----------------------------------+---------------------------------+