W3C home > Mailing lists > Public > www-dom@w3.org > July to September 1999

Using the Text Node interface

From: James Lee <supplanter@mailandnews.com>
Date: Thu, 5 Aug 1999 05:08:58 -0400 (EDT)
Message-ID: <002601bedf8e$1326c2d0$b401a8c0@asiansources.com>
To: <www-dom@w3.org>
XML DOM structure:

when i tried to pass a node as a text node to get the text content of an element, the runtime error says that there is a ClassCastException. this does not happen when i pass it to an Element node type, but the getNodeValue() for the Element node type is always null. what other ways can i use to get the text content out from the DOM structure?

Received on Monday, 9 August 1999 03:12:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:46 GMT