Re: DOCBOOK-APPS: Missing CDATA sections

From
fyl2xp1 <>
Date
2002-07-11T21:09:18+00:00
ID
003f01c2291f$35c345b0$0f11bc93@htrtttt
Thread
Re: DOCBOOK-APPS: Missing CDATA sections
no there was, I needed to include CDATA sections!
----- Original Message -----
From: "Elliotte Rusty Harold" <>
To: "fyl2xp1" <>; "docbook-apps"
<>
Sent: Thursday, July 11, 2002 8:12 PM
Subject: 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/    |
> +----------------------------------+---------------------------------+