Hi Eric. Welcome to astonishing word of XQuery and BaseX. If you mean xml files, which are stored inside of BaseX - you can modify the file (by commands, XQuery or other API), but you cannot delete it from the collection because XQuery itself does not provide such a method. However, you are free to set it to empty element, if you need.
Be sure, that the file inside of BaseX database and on your disk, from where you probably imported them, are two different things living separate life. There are of course tools to handle some syncing, but I do not do this so I cannot help in it much.
With best regards
Jan *Ing. Jan Vlčinský* CAD programy Slunečnicová 338/3, 734 01 Karviná Ráj, Czech Republic tel: +420-597 602 024; mob: +420-608 979 040 skype: janvlcinsky; GoogleTalk: jan.vlcinsky@gmail.com http://cz.linkedin.com/in/vlcinsky
On 1 July 2011 06:53, Eric Jones ecjones2040@gmail.com wrote:
Hello all,
I am new to BaseX. I want to know how one handles frequently updated xml files. Do you have to monitor the file with a third party tool and upon change drop the file from BaseX and re-add it?
Regards, Eric _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk