Hi, I'm a little new to VBScript and I'm having a little trouble traversing an xml file. I've done some C++ xml stuff a while back but I had a different parser. Here's a piece of the xml file.
If you've ever been involved with login scripts, you can probably see what I'm trying to do here. Basically, I have a WSH file that hosts a vbscript that's running through the GPO's for users during logon. It retrieves the gateway ip address of the workstation and tries to find it in this xml file. If it finds it, I need to be able to retrieve basically all of the values for that particular gateway, drive mappings to local file shares, software distribution points, printers, virus updates, etc. It's a very large network.
So far, I'm able to retrieve the gateway and find it in the xml file with an xpath statement, but I'm having trouble traversing to previous and/or next relative nodes and retrieving those values. And I'm not so sure xpath is the way to go?
Here's that code:
Thanks for any help on this. I truly appreciate it.