Xml node iterator

For the example xml below, how does the getnextnode service work?

<root>
<member>
</element1>
</element2>
</element3>
</member>

<Member
</eelemnt3>

<root>

When starting from root, if i do a getnextnode twice, where will the pointer be, on Member or elment1?

thanks,
mow

It will be on Member (it depends on criteria param what ever (eg:Member)defined on NodeIterator service)

assuming that the criteria was set to point to root, where will the getnextnode pointer be?
thanks,
mow

In the case above you need to fill both (root,member) in criteria,so nextnode pointer will be on the child root/“member”.

HTH.