Page 1 of 1

CAPITAL PROBLEM in firefox !!!

Posted: Thu Jan 18, 2007 10:15 pm
by rawbot69
I am having big problems with XPATH in Firefox.... it doesn't work on XML trees that have capital letters - I have this XML:

<bf>
<SME>
...
</SME>
</bf>

I can get SME if i do /bf/*[1] but i cant get it using /bf/SME

anyone have a solution?!!?!?

this is my xpath..

document.evaluate(expression, data, null, XPathResult.UNORDERED_NODE_ITERATOR_TYPE, null);

Posted: Fri Jan 19, 2007 5:47 pm
by rawbot69
BTW this happens only on XML loaded using the XMLHTTPRequest and works on XML loaded using

document.implementation.createDocument(null, null, null);

do i need to set something for XMLHTTTPRequest ??

A

Posted: Mon Jan 22, 2007 6:08 pm
by rawbot69
nevermind it doesnt work ! Wtf? Am i the only one who ran into this issue????