[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: We need an XPath API
- From: Evan Lenz <email@example.com>
- To: Charles Reitzel <firstname.lastname@example.org>
- Date: Tue, 06 Mar 2001 13:47:29 -0800
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 <. 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 < and & respectively.