Documents can also be converted by specifying the parser and additional options
in the query prologas function arguments:
<pre class="brush:xquery">
declare option dbfetch:parser xml("index.html";, map {declare option db 'parser':'html', 'htmlparser "': map { 'html=': false(),'nodefaults=': true";() }doc("index.html"})
</pre>