Correct me if I am wrong. Currently, we can get the text of any node. This new feature simply boils down to walking the entire tree and appending the text of each node into a string. Or is there more that is involved ?
-Vinayak > -----Original Message----- > From: Gareth Reakes [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 27, 2003 9:40 AM > To: [EMAIL PROTECTED] > Subject: Re: Getting text off all subnodes > > > Hi, > getTextContent does what you want but is unimplemented. If you > decide to implement it then we will gladly accept your code :) > > Gareth > > > > > On Thu, 27 Mar 2003, Magnus Strand wrote: > > > Hi, > > > > Is there a method to return all text merged from all text > subnodes from > > a certain nod in a DOM tree? > > > > I mean if i have this as part of an xml: > > <header>It is <b>sunny</b>weather today</header> > > > > I have a DOMNode* to the header element and would like to > return all the > > text: > > "It is sunny weather today" > > > > Regards, > > Magnus Strand > > > > -- > Gareth Reakes, Head of Product Development +44-1865-203192 > DecisionSoft Limited > http://www.decisionsoft.com > XML Development and Services > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
