How to check if a XML parent tag has any child node?
I have a workflow to call outbound web service to call and retrieve address information from external application. I have my custom Business Service script to read response object in the form of IO.
I am able to read complex hierarchy structure by using GetChild and read property value by using GetProperty. However, when a tag without any child node, I got below error message and I tried several syntax and still not able to prevent the error. Script failed if using sNetBuild = ListofBuidling.GetChild(0) as it failed on GetChild. I would like my script to be flexible to read data as some addresses return netBuilding block. Please advise the syntax to use to check if a node exist any child element? So that If child element exist, I will continue using GetChild to retrieve