Hi Grun,
I am using HTTP services so as i set chop false like
<context-param> <param-name>org.basex.chop</param-name> <param-value>false</param-value> </context-param>
so in this format i have to set SERIALIZER = indent=no or other way in the web.xml file.
On Fri, May 18, 2018 at 3:50 PM, Christian Grün christian.gruen@gmail.com wrote:
Hi Dharmendra Kumar,
You can set this option globally by adding the line
SERIALIZER = indent=no
at the bottom of your .basex configuration file [1]. If you use HTTP services, you can add an entry to your web.xml file [2].
Both solutions will affect all databases; there is currently no way to define serialization parameters for specific databases.
Hope this helps, Christian
[1] http://docs.basex.org/wiki/Options#SERIALIZER [2] http://docs.basex.org/wiki/Web_Application#Configuration
On Fri, May 18, 2018 at 12:13 PM, DK Singh dharam.mahi@gmail.com wrote:
Hi All,
I have to set indent='no' at the database label how can i achieve this, i have gone thorough the documentation and found that either we can do: (1) declare namespace output = "http://www.w3.org/2010/xslt-xquery-serialization"; declare option output:indent "no";
but the problem is that all the XQUERY module i have library module so
it is
throwing error. so is there any option.
Regards Dharmendra Kumar Singh