Hello guys,<br><br>Can you help me with the following problem:<br><br>I have some XML.<br><br>Now, i need to query it. But what i need to do, is to make queries of the form:<br><br>count(mainNode//someStr)<br>count(mainNode//someStr/someStr)<br>
(...)<br>count(mainNode//someStr/someStr/someStr/someStr/someStr/someStr/someStr/someStr)<br><br>The deep level of the last query may be even around 50 (so, 50 queries).  <br>Such set of queries will be repeated for about 100 keywords (like someStr). In total, that gives about 500 queries to create.<br>
<br>Is is posible to write iteration in XQuery for that. Or pass it as a function?<br><br>Thanks,<br>M.<br><br>