Posted: Thu Nov 10, 2011 7:07 am Post subject: how to find a certain element?
Apprentice
Joined: 27 Feb 2008 Posts: 48
Hi,
I have a tree structure that may look like this
Code:
A
A
A B A
A A
A A
A A B A
A
A B A B A
A A
A A
A A B A
A A A
A
A B A B A
Each "A" contains one element named <partNo>, and I don´t know how many levels any "A" has. The unpredictible structure above is already built in my OutputRoot.
PROBLEM
I need to locate a certain "A" where <partNo> equals a certain value because I need to add more elements to that particular "A".
Here I´ve come up with these perhaps (im)possible solutions:
1. Use SELECT to locate relevant "A" - but can SELECT return a dynamic field reference to my "A" of interest?
2. Use a recursive function which traverses the entire OutpurRoot tree.
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