![]()
DOM Usage Examples
- misc/Domdemo.java
This example shows how to create a simple browser application that uses the HTML 4 pilot, and how to build a DOM tree programmatically and render it. It shows how you can query for information in the DOM and add a simple listener for DOM events to one of the nodes.
- misc/Domdemo3.java
This example shows how to access and query a DOM that is retrieved from a URL. It makes a list of the links in the document, iterates the list, and uses the view to retrieve the position and bounding box coordinates of every link. It demonstrates how to set up a more sophisticated listener for DOM events using the HTML 4 pilot's API.
- misc/Parser.java
This example shows how to construct an HTML or XML document parser without using a GUI.
|
Copyright 2005. ICEsoft Technologies, Inc. http://www.icesoft.com |