springy143
asked on
FIREFOX XML Traversing
Does anyone know of the syntax to grab an xml element by its id in Firefox.
This is what I use in google and safari
in IE including IE10 I use...
Its all fine with all browser except for FIREFOX. Trying to get the same thing in Firefox I am finding a challenge because I have to keep recursively traversing through the complete xml structure. There must be another way.
This is what I use in google and safari
xmlDoc.getElementById(pItemId).childNodes;
in IE including IE10 I use...
xmlDoc.selectSingleNode('//*[@id=' + pItemId + ']').childNodes;
Its all fine with all browser except for FIREFOX. Trying to get the same thing in Firefox I am finding a challenge because I have to keep recursively traversing through the complete xml structure. There must be another way.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER