I want to be able to know the index value of element <B>567</B> which in this case is 3.
I know that I can create my own loop and iterate and increment my own index, but I was wondering if there was a function, similar like POSITION works for string, this would return the index of a tree element.
Posted: Wed Jan 04, 2012 10:01 am Post subject: Re: Element Index
Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
ins0mniac2 wrote:
Is there a function that can return you the index of a repeating XML field?
No.
Why do you need to know this? What benefit is the index position of the element to your requirement? Given that having found the element in the tree, you can always go back to it without knowing the index value. _________________ Honesty is the best policy.
Insanity is the best defence.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum