CAPITAL PROBLEM in firefox !!!

Questions about XML that are not covered by the other forums should go here.
rawbot69
Posts: 6
Joined: Thu Jan 18, 2007 10:11 pm

CAPITAL PROBLEM in firefox !!!

Post 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);
rawbot69
Posts: 6
Joined: Thu Jan 18, 2007 10:11 pm

Post 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
rawbot69
Posts: 6
Joined: Thu Jan 18, 2007 10:11 pm

Post by rawbot69 »

nevermind it doesnt work ! Wtf? Am i the only one who ran into this issue????
Post Reply