Forum Discussion
SmartBear_Suppo
Alumni
13 years agoHi,
so is the script working for you?
1. defaultVal is not used, but you can add that to XPATH lookup as e.g.:
2. item is the object for the node and item.nodeName is the name of the XML node element
Thanks,
Michael Giller
SmartBear Software
so is the script working for you?
1. defaultVal is not used, but you can add that to XPATH lookup as e.g.:
for( item in holder.getDomNodes( "//*[. = '" + defaultVal + "']" )){2. item is the object for the node and item.nodeName is the name of the XML node element
Thanks,
Michael Giller
SmartBear Software