Dear Maud,

the required namespace has changed.

With BaseX version 7.0.2 you have to write:
<query xmlns='http://www.basex.org/rest'>

With BaseX version 7.1 you have to write:
<query xmlns='http://basex.org/rest'> (without www like in the command line example)

Kind regards

Thomas


in the command line examples the name space is wrong 

Am 09.02.2012 um 14:59 schrieb Maud Ingarao:

Hello,

I need BaseX not to chop whitespaces while creating DBs out of my XML texts.

I found this post :
https://mailman.uni-konstanz.de/pipermail/basex-talk/2010-April/000213.html
and this documentation :
http://docs.basex.org/wiki/Options#CHOP

But could someone please show me how to write it as a REST POST request ?
I looked at examples here
http://docs.basex.org/wiki/REST#Command_Line
but always get a "Nodes must belong to "http://www.basex.org/rest"" error...

Thanks a lot !!
Maud



--
Maud Ingarao
IHPC (UMR 5037)
Institut d’histoire de la pensée classique, de l’Humanisme aux Lumières
Ecole Normale Supérieure de Lyon - Site Descartes - Bureau R322
15 Parvis René Descartes - BP7000 - 69342 Lyon CEDEX 07
+33 4 37 37 65 79 - maud.ingarao@ens-lyon.fr

cerphi.ens-lyon.fr - pensee-classique.ens-lyon.fr
institutdesanti.ens-lyon.fr - hyperdonat.ens-lyon.fr
mutec-shs.fr - projet-plume.org - ahn.ens-lyon.fr
http://www.cahier.paris-sorbonne.fr/

- je suis absente le vendredi - out of office on Fridays -
_______________________________________________
BaseX-Talk mailing list
BaseX-Talk@mailman.uni-konstanz.de
https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk