[MarkLogic Dev General] xml not rendered as xml
pjmaip at yahoo.com
Thu Aug 12 10:33:15 PDT 2010
I have xqy that sends back xml file, as such:
let $xml := fn:doc($file)
return (xdmp:set-response-content-type("text/xml; charset=utf-8"), (), $xml)
As long as the file is 'plain' xml, everything is fine. It is shown as xml in the browser.
However, some documents contain the following:
xmlns:m="http://www.w3.org/1998/Math/MathML"This 'apparently instructs' the browsers to attempt to render the page.
Is there a doctype or some other setting to force the page to be viewed always as xml?
Is there a setting in Firefox that could override default behavior?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the General