11 Feb
2014
11 Feb
'14
6:13 p.m.
Hi France,
Is it possible to view content saved as XHTML in a BaseX database as HTML 5 in a browser when accessing the content through a domain:port/rest/... address?
Try this: http://your.url:port/rest/db/doc.xml?method=xhtml&html-version=5.0 Some more information on providing serialization parameters to REST requests can be found here [1, 2]. Hope this helps, Christian [1] http://docs.basex.org/wiki/REST#Parameters [2] http://docs.basex.org/wiki/Serialization