RE: Newby question: Get Text of a Node

2000-04-04 Thread Anthony Dodd
[mailto:[EMAIL PROTECTED]Sent: 03 April 2000 17:51To: [EMAIL PROTECTED]Subject: Re: Newby question: Get Text of a Node The text of an element is contained in text nodes that are children of the element node.  It's always a little awkward to get it out.   Elements can ha

Re: Newby question: Get Text of a Node

2000-04-03 Thread Andy Heninger
The text of an element is contained in text nodes that are children of the element node.  It's always a little awkward to get it out.   Elements can have any number of children, so you may want to generalize your code a bit.   Even if there are no nested elements, comments and entity referen