Namespace conflict problem
Hi all, Could you help with following error [XUDY0024] New namespaces conflict with each other. I create database in basex GUI from following XML file: <root xmlns:my="http://www.somedomain.com"> <subroot my:index="1">aaa</subroot> <subroot my:index="2">bbb</subroot> <subroot my:index="3" my:delete="true">ccc</subroot> </root> Then I try to execute following statement declare namespace my="http://www.somedomain.com"; insert node attribute my:addedAttribute {"1"} into /root/subroot[@my:index=1] Am i doing something wrong, how should i write a query which will add add my:addedAttribute {"1"} into subroot element with my:index="1". Any help appreciated Jiri
Hi Jiri, we are currently facing a few namespace-related problems, so I just add this to the list. I'll come back to you as soon as I have answers. Thanks for your feedback. Regards, Lukas On Mar 31, 2010, at 2:34 PM, Jiří Kadlec wrote:
Hi all,
Could you help with following error [XUDY0024] New namespaces conflict with each other.
I create database in basex GUI from following XML file:
<root xmlns:my="http://www.somedomain.com"> <subroot my:index="1">aaa</subroot> <subroot my:index="2">bbb</subroot> <subroot my:index="3" my:delete="true">ccc</subroot> </root>
Then I try to execute following statement
declare namespace my="http://www.somedomain.com"; insert node attribute my:addedAttribute {"1"} into /root/ subroot[@my:index=1]
Am i doing something wrong, how should i write a query which will add add my:addedAttribute {"1"} into subroot element with my:index="1".
Any help appreciated
Jiri _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
participants (2)
-
Jiří Kadlec -
Lukas