Forum Discussion
Usha_Kodali
15 years agoFrequent Contributor
got this working....
spotID = holder.getDomNodes("//aetgt:GetSpotListsResult/aetgt:spotlists/aetgt:Spotlist/aetgt:Spots/aetgt:Spot[aetgt:Variety='commentary']/aetgt:SpotID")
spotListID = holder.getDomNodes("//aetgt:GetSpotListsResult/aetgt:spotlists/aetgt:Spotlist/aetgt:Spots/aetgt:Spot[aetgt:Variety='commentary']/../../aetgt:ID")
once we get nodes based on the condition we need to getvalue using getNodeValue.
spotID = holder.getDomNodes("//aetgt:GetSpotListsResult/aetgt:spotlists/aetgt:Spotlist/aetgt:Spots/aetgt:Spot[aetgt:Variety='commentary']/aetgt:SpotID")
spotListID = holder.getDomNodes("//aetgt:GetSpotListsResult/aetgt:spotlists/aetgt:Spotlist/aetgt:Spots/aetgt:Spot[aetgt:Variety='commentary']/../../aetgt:ID")
once we get nodes based on the condition we need to getvalue using getNodeValue.