module namespace irt = 'http://www.irt.de/irt_restxq'; declare %rest:path("/") %output:method("xhtml") function irt:test() { doc('test.xml') };