Re: [xslt] handling of < in CDATA sections
- From: Roel Vanhout <roel riks nl>
- To: veillard redhat com, The Gnome XSLT library mailing-list <xslt gnome org>
- Cc:
- Subject: Re: [xslt] handling of < in CDATA sections
- Date: Tue, 22 Feb 2005 11:31:08 +0100
Daniel Veillard wrote:
CDATA does not exist in the XPAth data model. I.e. XSLT does not see
CDATA in any input or generated tree, only text nodes with the associated
text value. What you're trying to do is not possible in XSLT.
The only thing you can do:
- force some element content to be CDATA
http://www.w3.org/TR/xslt#section-XML-Output-Method
using cdata-section-elements
- disable escaping for some specific text nodes
http://www.w3.org/TR/xslt#disable-output-escaping
Aha yes this method works just fine! Thanks a lot Daniel.
cheers,
roel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]