10-20-2009, 08:01 AM
Here you cannot use path.
Parse whole document into smaller parts and look which part contains element with certain attributes.
For example
Macro Macro633
Now in every a[j] search for "<TD class=nameAndAddress>"...
Parse whole document into smaller parts and look which part contains element with certain attributes.
For example
Macro Macro633
out
str First("Bill") Last("Gates") City State Zip
str AnyWhoURL.format("http://whitepages.anywho.com/results.php?&qc=%s&qf=%s&qn=%s&qs=%s&qz=%s" City First Last State Zip)
HtmlDoc d.InitFromWeb(AnyWhoURL)
ARRAY(str) a
d.GetTable(12 a 0 1)
;
int j
for j 0 a.len
,out a[j]
,out "-------"
retNow in every a[j] search for "<TD class=nameAndAddress>"...
