Jump to content

Recommended Posts

Posted

No i know that, i just named it root for this example in my xml its named something else. Just because its work related.

I don't get why "//vers" worked tho, how does it know where vers is? does // just assume vers is right under the root node?

Posted (edited)

// are relative, while / are absolute...so if you use // it will find the node, no matter how far nested it is in the XML structure...if use /, then it must be one level below

suggest the following read:

http://www.w3schools.com/xpath/xpath_intro.asp

Expression Description nodename Selects all nodes with the name "nodename" / Selects from the root node // Selects nodes in the document from the current node that match the selection no matter where they are . Selects the current node .. Selects the parent of the current node @ Selects attributes

Edited by jdelaney
IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.
Posted

Ahh very good, you're a real piece of work. Thank you for the help.

Looking at how you did it, i dont know why id use a UDF when autoit seems to be able to do things just fine on its own.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...