I’m new to webMethods and have been trying to implement sample flow services. I’m trying to parse an XML to get all the tag names contained in the XML to a string list. I’m assuming that the flow will not know the number of tags contained in the document.
This is how I went ahead with the solution…
if next node is null then exit loop2
else append tag name to string list, map the current node to next node[/HTML]
Now the problem i’m facing… For this sample xml,
the expected output is
instead i get
The same holds good if i increase the number of tags in the same level. the iterator only picks up the inside tag names of the last tag in the same level. What am i doing wrong? Hope I have not been confusing in this post.