note
dakkar
<code>
//file[userprop[nameprop='Version']/valueprop=2]
</code>
Which means:
<ul>
<li>take every <tt>file</tt> element</li>
<li>whose <tt>userprop</tt> child (whose <tt>nameprop</tt> child has a content of <tt>'Version'</tt>) has a <tt>valueprop</tt> child with a content of <tt>2</tt></li>
</ul>
Or, put more clearly, you <em>can</em> nest node-tests (the things inside the brackets)
<div class="pmsig">
<div class="pmsig-43471">
<pre>--
dakkar - Mobilis in mobile
</pre>
<p><font size="-2">Most of my code <em>is</em> tested...</font></p>
<p><font size="-2"><a href="http://www.sidhe.org/~dan/blog/archives/000151.html">Perl is strongly typed, it just has very few types</a> (Dan)</font></p>
</div></div>
350646
350646