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

Hey!

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>
</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...

Regards
Michael

__________________________________________________________________

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 GMT

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