Hi,

when using 'xhtml' output method, the doctype always matches the name
of the root element (instead of 'html').

Does not happen with 'html' output method.

-- start xqm --

declare
  %rest:GET
  %rest:path("test-frag")
  %output:method("xhtml")
  %output:html-version("5.0")
function _:test-frag(){

  <form>

  </form>

};

-- end xqm --

Result:

<!DOCTYPE form>
<form></form>

Regards,

Max

Reply via email to