File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

Removing element from HTMLDocument

Mathias Nilsson
Ranch Hand

Joined: Aug 21, 2004
Posts: 367
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 ]

SCJP1.4
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Removing element from HTMLDocument