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 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:05 UTC