Thank you very much for the information i feel a little stupid because i usually think that i am understanding something and i am not.... now it works perfectly!!
my application is for analyze student interactions in a social network, gives the results to the teacher in order to improve the collaborative learning, alerting them when some roles are detected (for example, an isolated student). All the interactions between students and documentes in bscw or in wikis are stored and some parsers transform it into a XML file, then my application have to analize that.... I will tell in my final doc why i have choosed Basex, and i will mention your efficiency and kindy.
(sorry for my english again).
2010/4/26 Christian Grün christian.gruen@gmail.com
I think you are confusing the database with the source document. The moment you add a document to your database there is no "link" to the
source document anymore.
Once you perform update operations on a database the updates are
reflected only in the database.
The (source) XML document is stored independently, this is why you call
export to overwrite your source XML file.
Good hint! You can set the WRITEBACK flag to store changes in the original documents by e.g.…
new Set(Prop.WRITEBACK, true).execute(context);
Christian
Thanks Beatriz for your update, we're looking forward to receiving your final results. Feel free to ask for more,
Christian
On Mon, Apr 26, 2010 at 11:50 PM, Beatriz Sancho bea.sancho@gmail.com wrote:
Thank you very much for the information i feel a little stupid because i usually think that i am understanding something and i am not.... now it works perfectly!!
my application is for analyze student interactions in a social network, gives the results to the teacher in order to improve the collaborative learning, alerting them when some roles are detected (for example, an isolated student). All the interactions between students and documentes in bscw or in wikis are stored and some parsers transform it into a XML file, then my application have to analize that.... I will tell in my final doc why i have choosed Basex, and i will mention your efficiency and kindy.
(sorry for my english again).
2010/4/26 Christian Grün christian.gruen@gmail.com
I think you are confusing the database with the source document. The moment you add a document to your database there is no "link" to the source document anymore.
Once you perform update operations on a database the updates are reflected only in the database. The (source) XML document is stored independently, this is why you call export to overwrite your source XML file.
Good hint! You can set the WRITEBACK flag to store changes in the original documents by e.g.…
new Set(Prop.WRITEBACK, true).execute(context);
Christian
basex-talk@mailman.uni-konstanz.de