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

getting all text uses in documents body

From: Michael Schmidt <myrddral_de@yahoo.de>
Date: Thu, 12 Sep 2002 10:23:49 +0200 (CEST)
Message-ID: <20020912082349.13676.qmail@web20703.mail.yahoo.com>
To: www-dom@w3.org


Does anybody know how I can get all text (all non-tags ) from the body.

For example, I have an html-site like this:

<body><h1>test document</h1><p><p>This is a <b>text</b>
and want to get all text, that means a range like this:
test document This is a text

Any idea, I guess its easy with DOM, but I never before used this and need I
dont have time to learn it completely...



Gesendet von Yahoo! Mail - http://mail.yahoo.de
Möchten Sie mit einem Gruß antworten? http://grusskarten.yahoo.de
Received on Thursday, 12 September 2002 04:23:50 UTC

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