Posted By:
Phil_Kesel
Posted On:
Thursday, December 6, 2001 07:49 AM
Your question is rather vague, but I'm guessing you want to find nodes in your HTML page that are images, and that you want to manipulate those nodes, perhaps changing images. The Xerces Document class, which is exended by the HTMLDocument class, has a method called getElementsByTagName. It returns a NodeList that you can traverse to find the node you like. You could also put an ID attribute in the IMG elment and use getElementById to find a particular element.