title: Need to work around selectSingleNode in IE10
body: <p>My client has a web app that started throwing errors in IE10.  I tracked down the source of the error and it seems IE 10 no longer supports selectSingleNode.  Here's the function where it's used:</p>
  
  <pre><code>
  
      ScormApi.prototype.setTom = function( tom ) {
           this.tom = CreateXmlDocument();
           var rootelem = importAllNode( this.tom, this.tomTemplate.documentElement, true );
           this.tom.appendChild( rootelem );
           // Transforms the tracing of the user in tracking template
           // Perform the navigation on all nodes of tom and for each value found
           // Sets it to this.tom
           rootelem = tom.selectSingleNode('//cmi');
           this.parseXML( rootelem, '/' , this, this.setTomParam );
      }
  
  </code></pre>
  
  <p>It's called with the following code:</p>
  
  <pre><code>
  
      var ajxreq = new Ajax.Request(
      this.baseurl+'?op=Initialize',
      {   method: 'post',
           asynchronous:false,
           postBody: strSoap,
           requestHeaders: {
               'Man':"POST " + this.baseurl + " HTTP/1.1",
               'Host':this.host,
               "Content-type":"text/xml; charset=utf-8",
               "SOAPAction":this.serviceid + "Initialize",
               "X-Signature":playerConfig.auth_request
           }
      });
  
      if( ajxreq.transport.status == 200 ) {
           try {
               this.setTom( ajxreq.transport.responseXML );
           }
      }
  
  </code></pre>
  
  <p>I found suggestions to change the response type to msxml-document, use querySelector or use jQuery's find function, but I can't piece together how to actually implement it in this prototype framework.  Any assistance would be greatly appreciated.</p>