Hi Friends,
I want to select the node which has the a desired node(<zz>) exists more
than 2.
The xml structure goes like this:
<AA>
<BB>
<zz></zz>
<zz></zz>
<zz></zz>
</BB>
<BB>
<zz></zz>
</BB>
</AA>
My expected results should be <BB>...</BB>.. (in this case...)
I tried with,
for $n in //AA/BB
where count($n/zz) > 2
return $n
But the element will be chosen dynamically...
Solution using implicit function (cts:...) will be more helpful and much
appreciated.... :)
thanks,
Deepak M.
Check out the all-new Messenger 9.0! Go to http://in.messenger.yahoo.com/_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general