different law selecting html elements xpath firefox internet explorer


i'm perplexing name specific html component document, firefox i only use:



xpathobj = document.evaluate(xpath, document, null,
xpathresult.first_ordered_node_type, null);


which works fine. however i try ie equivilent:



xmldoc=new activexobject("microsoft.xmldom");
xmldoc.async=false;
xmldoc.load(document);
xmldoc.setproperty("selectionlanguage", "xpath");
xpathobj = xmldoc.selectnodes(xpath);


i vigilant returned. doubt there an easy proceed xpath component i wish ie?
the xpath i'm controlling looks



/html/body/div[9]/div[2]


Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?