let $n:= <doc>
<para>
<g:german>grussgot</g:german>
<english>hello</english>
 Mr Herrman
<g:german>wie gehts</g:german>

<english>how are you today</english>
We missed you at the meeting on Friday
<joke>Well, we missed the good bier that you always bring</joke>
</para>
</doc>

let $msg:=$n//para
return $msg

I only want either the english or the german version children of the para 
element. What is the easiest way to implement this? I only can envision 
recursively removing german child elements or english child elements. Is there 
another more efficient way?







      
____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to