Loading ...
Sorry, an error occurred while loading the content.

11626Problem with responseXML.documentElement on IE.

Expand Messages
  • ---
    Apr 1, 2007
      Hi, I are new here.

      Working with some features of YUI I found a problem.

      I want to process a XML generated by php, some one like this.

      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
      <name>All programs</name>
      <name>Recent programs</name>
      <name>Recent Documents</name>


      when I do it:

      function successHandler(o){
      var root = o.responseXML.documentElement;
      var appName = root.getElementsByTagName('name');


      The messages on Opera and Mozilla show [object HTMLColletcion], thats
      right, but on IE 6.0 the message show NULL.

      Any idea to make it work??

      Really thanks.
    • Show all 8 messages in this topic