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.       
W3C Policy Analyst      
IETF/W3C XML-Signature Co-Chair
W3C XML Encryption Chair

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