getting all text uses in documents body


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 -
Möchten Sie mit einem Gruß antworten?

Received on Thursday, 12 September 2002 04:23:50 UTC