We have a complex data structure
oganized
as
Code: Select all
Sequence
Item
Data1
Data2
....
Sequence
Item
Data3
Data4
....
Item End
Item
Data3
Data4
....
Item End
...
Sequence End
Item End
Item
Data1
Data2
....
Sequence
Item
Data3
Data4
....
Item End
Item
Data3
Data4
....
Item End
...
Sequence End
Item End
Item
Data1
Data2
....
Sequence
Item
Data3
Data4
....
Item End
Item
Data3
Data4
....
Item End
...
Sequence End
Item End
Sequence end
Currently this is implemented just using
findAndGetElements with the inner sequence tag.
We get a stack with the inner sequences
Now we need some data from the outer sequence
Is there a way to find the outer element if the inner element is given?
Or is the only way to iterate from top to down?
Regards
NDT