File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes Removing element from HTMLDocument Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Removing element from HTMLDocument" Watch "Removing element from HTMLDocument" New topic

Removing element from HTMLDocument

Mathias Nilsson
Ranch Hand

Joined: Aug 21, 2004
Posts: 367

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 ]

I agree. Here's the link:
subject: Removing element from HTMLDocument
It's not a secret anymore!