OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: We need an XPath API

Charles Reitzel wrote:
> Where does it say that CDATA sections are supressed.

Is this what you're looking for?

<quote href=" http://www.w3.org/TR/xpath.html#section-Text-Nodes">
Each character within a CDATA section is treated as character data. Thus,
<![CDATA[<]]> in the source document will treated the same as &lt;. Both
will result in a single < character in a text node in the tree. Thus, a
CDATA section is treated as if the <![CDATA[ and ]]> were removed and every
occurrence of < and & were replaced by &lt; and &amp; respectively.