title: Microsoft.XMLDOM.1.0 - "the data necessary to complete this operation is not available"
body: <p>I'm trying to load a XML with the following code:</p>
  
  <pre><code>$xsl = new-object -ComObject Microsoft.XMLDOM.1.0
  $xsl.load('http://172.16.177.200/1.xml')
  $xsl.transformNode($xsl)
  </code></pre>
  
  <p>However, <code>$xsl.load</code> only work if the XML is a local file. With the code above, <code>transformNode</code> raises an error "the data necessary to complete this operation is not available"</p>
  
  <p><a href="https://i.stack.imgur.com/oYl1b.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oYl1b.jpg" alt="enter image description here"></a></p>
  
  <p>Tried to add a <code>start-sleep 5</code>, no help.</p>
  
  <p>Any ideas?</p>