Usage: wrap the location as follows
<pre class="brush:xqueryxml"><restxq:forward>{ $location }</restxq:forward></pre>
This results in a server-side forwarding, which as well reduces traffic among client and server. A forwarding of this kind will not change the URL seen from the client's perspective.