J
John Nagle
The usual approach for finding all links:
var allhrefs = document.evaluate(
"//a[@href]",
document,
null,
XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null);
doesn't seem to descend into <iframe> sections of the DOM
in FireFox 2. Is that correct? Can XPath be told to descend
into an iframe subdocument? Or is it necessary to find all the
<iframe> tags and recurse?
John Nagle
var allhrefs = document.evaluate(
"//a[@href]",
document,
null,
XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null);
doesn't seem to descend into <iframe> sections of the DOM
in FireFox 2. Is that correct? Can XPath be told to descend
into an iframe subdocument? Or is it necessary to find all the
<iframe> tags and recurse?
John Nagle