xquery version "1.0-ml";
import module namespace mldb="http://docbook.org/vendor/marklogic/docbook"
at "/DocBook/vendor/marklogic/docbook.xqy";
declare default function namespace "http://www.w3.org/2005/xpath-functions";
declare option xdmp:mapping "false";
let $doc := document {
Article title
This is a paragraph.
If you see this, something has gone wrong.
If you see this paragraph, everything is ok.
}
let $style := document {
}
return
mldb:to-html($doc, map:map(), (), $style)