I have an .xml file and can enumerate all the values I need, however I only
need to return the first Value.
strValue returns the correct string value but also all the other values in
the Array, how do I just get the first value rather than all values?
Below is my code:
'****************************
' Retrieve array of Node's
Set xmlRoot = xmlDoc.documentElement
Set nodelistID = xmlDoc.SelectNodes("SecScan/Check/Advice")
for each node in nodelistID
strTest = trim(node.text)
wscript.echo strTest
next
'*******************************
Thanks!