Jump to content

latest version com error


Ontosy
 Share

Recommended Posts

This code no longer works with the latest version of autoit . Why?

$node = ObjCreate("Microsoft.XMLDOM")
$node.setProperty("SelectionLanguage", "XPath")
$node.async = "false"
$node.load(@TempDir & "rss.xml")
$channel = $node.getElementsByTagName('channel' ).item(0)

;ERROR:
$title = $channel.getElementsByTagName('title' ).item(0).firstChild.data
$link = $channel.getElementsByTagName('link' ).item(0).firstChild.data
$items = $channel.getElementsByTagName('item')
Edited by Ontosy
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...