Hi all,
 
I am getting quite confused here with trying to use XML/Xpath in IE. 
 
Let's imagine that I have the following XML in my page:
 
                        <xmlelement>
                                    <subelement1></subelement1>
                                    <subelement2></subelement2>
                                    <subelement3></subelement3>
                                    <subelement4></subelement4>
                        </xmlelement>
 
How do I traverse through all the children of "xmlelement"?
 
In Firefox this works fine:
 
                        $("//xmlelement").children().each(function(e)
                        {
                                    alert("hi")
                        })
 
In Internet Explorer (I am using ver 7) I get nothing at all.
 
Any clues much appreciated.
 
____________________________________________
Matthew Delmarter
 
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to