Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Removing element from HTMLDocument  RSS feed

 
Mathias Nilsson
Ranch Hand
Posts: 367
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

How can I remove an Element from a HTML Document.

Here is the situation.

In some cases I want to remove the entire


and sometimes just the <li></li> element.

Is there anyone who has mastered this problem?

I have already tried the sample found at Javaranch remove
[ December 16, 2005: Message edited by: Mathias Nilsson ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!