- From: Joseph Kesselman <keshlam@us.ibm.com>
- Date: Wed, 10 Oct 2001 12:04:40 -0400
- To: www-dom@w3.org
In your example, "/top/text()" would return a pointer to the Text node containing "This is the " (don't forget the trailing space). Your application could (and presumably would, if you aren't interested in the details of the DOM structure) then call that object's wholeText() method rather than retrieving its value/data, which would yield the DOMString "This is the middle bit part". (Note that since CDATASection inherits from Text, it too supports the wholeText() operation.) ______________________________________ Joe Kesselman / IBM Research
Received on Wednesday, 10 October 2001 12:05:15 UTC