Set xmlDoc = CreateObject("Microsoft.XMLDOM")
xmlDoc.Async = False
xmlDoc.Load(C:\Users\user\Desktop\Pics\1.xbrl)
Set author = xmlDoc.SelectNodes("/xbrli/both/title/author")
For i = 0 To (author.Length - 1)
author(i).Text = "Authorxyz"
Next
xmlDoc.Save(C:\Users\user\Desktop\Pics\1.xbrl)
Using above function i am able to update wherever node "author" is present
in xbrl file. But is there any generic function which can update any node
present within xml. So that i don't need to hard code the node path using
"Select nodes". Please help.
--
--
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en
---
You received this message because you are subscribed to the Google Groups "QTP
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.