t", "doc1.xml",
> "
> stefy
> stefy
> ")
> >>>>>
>stefy
> stefy
>
>
> Am i missing something?
> thanks
> Stefania
>
>
>
> From:Michael Seiferle <m...@basex.org>
&
fania
From: Michael Seiferle <m...@basex.org>
To: Gerrit Imsieke <gerrit.imsi...@le-tex.de>, st...@us.ibm.com
Cc: BaseX <basex-talk@mailman.uni-konstanz.de>
Date: 01/29/2018 11:22 AM
Subject:Re: [basex-talk] xml element beginning and end space loss
Hi &
Hi & thanks Gerrit,
Hi Stefania,
You may even decide to chop-or-not on a per-element basis:
> db:create('test',
> "
> stefy
> stefy
> ",
> "doc.xml"
> )
Will preserve whitespace in the second -Element while chopping in the
first one.
=> http://docs.basex.org/wiki/Options#CHOP
Hi Stefania,
You can avoid it if you create the DB with chopping switched off in the
first place.
Or you can supply the chopping option as you go:
db:replace('MyDB', 'doc.xml', ' stefy ', map {'chop':false()})
Whitespace chooping by default is maybe the most-detested design
decision in
Hi all!
is there a way to preserve the beginning and ending spaces in the Database
xml elements?
In other words If I execute this xQuery
db:replace("MyDB", "doc.xml", " stefy ")
the resulted document will be
stefy
As you can see I lost my beginner and
5 matches
Mail list logo