Whoops. XPath worked but was technically incorrect.

This commit is contained in:
Sean Takats 2007-03-28 14:44:24 +00:00
parent 00518b1ead
commit f886704830

View File

@ -1,4 +1,4 @@
-- 210
-- 211
-- ***** BEGIN LICENSE BLOCK *****
--
@ -624,7 +624,7 @@ function doWeb(doc, url) {
var tagRegexp = new RegExp();
tagRegexp.compile(''citationAction='');
var tableRows = doc.evaluate(''//tr/td[span[@class="printDownloadSaveLinks"]]'', doc, nsResolver, XPathResult.ANY_TYPE, null);
var tableRows = doc.evaluate(''//tr[td/span[@class="printDownloadSaveLinks"]]'', doc, nsResolver, XPathResult.ANY_TYPE, null);
var tableRow;
// Go through table rows
var tableView = new Array();