R
Rolf Kemper
Dear ALL,
I have an xml containing an order of elements which is quite big (Mega
Bytes)
Example:
<root>
<e1 />
<e5 />
<e3 />
<e2 />
<e5 />
<e2 />
<e1 />
</root>
What I want to do is to look for a ceratin sequence of elements:
e.g. e5,e2 (e5 must be followed by e2)
e.g. e5,*,e2 (which left out e3)
In a matching template or foreach I have only the current element in
scope.
A variable used in that scope is re-defined in next match. Hence this
does not help.
How can this be solved somehow
Any hint is welcome
Rolf
I have an xml containing an order of elements which is quite big (Mega
Bytes)
Example:
<root>
<e1 />
<e5 />
<e3 />
<e2 />
<e5 />
<e2 />
<e1 />
</root>
What I want to do is to look for a ceratin sequence of elements:
e.g. e5,e2 (e5 must be followed by e2)
e.g. e5,*,e2 (which left out e3)
In a matching template or foreach I have only the current element in
scope.
A variable used in that scope is re-defined in next match. Hence this
does not help.
How can this be solved somehow
Any hint is welcome
Rolf