Subject: RE: [xsl] treating a CDATA node as Elements nodes From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Thu, 21 Jul 2005 19:19:28 +0100 |
> CDATA sections are viewed as a single node that can't > be split up even more in template rules right? Wrong. CDATA sections don't result in nodes in the tree. CDATA is simply a way of escaping special characters, so that & means ampersand rather than introducing an entity reference, and < means less-than rather than introducing a start tag. The content of the CDATA section is concatenated with adjacent text to produce a normal text node in the tree. CDATA section boundaries are not considered to carry any information. Michael Kay http://www.saxonica.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] treating a CDATA node as Elem, Arian Hojat | Thread | Re: [xsl] treating a CDATA node as , David Carlisle |
[xsl] treating a CDATA node as Elem, Arian Hojat | Date | Re: [xsl] treating a CDATA node as , David Carlisle |
Month |