[Htmlparser-user] iterate through node list
Brought to you by:
derrickoswald
From: Nic S. <oo...@gm...> - 2007-09-17 03:56:26
|
Hi I created a NodeList which contains hyperlinks extracted from an HTML webpage, I need to be able to iterate through every single node and extract its href. Wondering if anyone can help me with: 1. how to Iterate nodes 1 by 1 2. extract href NodeList URLs = ExtractHyperLinks(HTML); /* * at this stage we have all: * <A HREF="link1">something1</A> * <A HREF="link2">something2</A> * <A HREF="link3">something3</A> * <A HREF="link4">something4</A> * <A HREF="link5">something5</A> */ |