Re: Question for implementors: XPath model and CDATA sections

This sounds like it is what Philippe recommends.

On Friday 15 February 2002 17:43, Christian Geuer-Pollmann wrote:
> I do the following: My c14n eats a NodeList which is a list of all (DOM)
> Nodes which are to be serialized. Then I traverse the DOM tree using a
> TreeWalker and if the current node is in the list, I output it. Now the
> tweak: when I encounter a Text/CDATA node which is in the list, I output
> all next-siblings of type Text/CDATA without checking whether they are in
> the list.
> Any ideas whether this is correct?


-- 

Joseph Reagle Jr.                 http://www.w3.org/People/Reagle/
W3C Policy Analyst                mailto:reagle@w3.org
IETF/W3C XML-Signature Co-Chair   http://www.w3.org/Signature/
W3C XML Encryption Chair          http://www.w3.org/Encryption/2001/

Received on Wednesday, 20 February 2002 14:43:29 UTC