xquery - following-sibling for a string
<pre><code>&lt;w&gt; hello &lt;/w&gt; &lt;w&gt; world &lt;/w&gt;
</code></pre>

<p>Hello, I would like to know how to retrieve the following word from an xml file using xquery. E.g. I have assigned 'hello' to $x, how do I return 'world'. Many thanks.</p>