|-
| '''Examples'''
|The following expression returns * Retrieve an XML representation of the English Wikipedia main HTML page and chops , chop all whitespace nodes:
<pre class="brush:xquery">
fetch:xml("http://en.wikipedia.org", map { 'chop': true() })
</pre>
|* Return a document located in the current base directory:
<pre class="brush:xquery">
fetch:xml(file:base-dir() || "example.xml")
</pre>
|}