Hi & thanks Gerrit, Hi Stefania, You may even decide to chop-or-not on a per-element basis: > db:create('test', > "<doc> > <a> stefy </a> > <a xml:space='preserve'> stefy </a> > </doc>", > "doc.xml" > )
Will preserve whitespace in the second <a />-Element while chopping in the first one. => http://docs.basex.org/wiki/Options#CHOP <http://docs.basex.org/wiki/Options#CHOP> Best from Konstanz :-] Michael > Am 27.01.2018 um 01:06 schrieb Imsieke, Gerrit, le-tex > <gerrit.imsi...@le-tex.de>: > > Luckily you can switch it off.