27 Feb
2014
27 Feb
'14
4:13 p.m.
Hi, Under BaseX 772. I have to run 2 update operations in one query (both concern the same target element) - first operation example: *replace node //tei:div[@xml:id="myID"]with <div ns:time='xxx' xml:id="myID">new content</div>* - second operation example:* **replace value of node //tei:div[@xml:id="myID"]/@*:time with "yyy"** * Both work when run separatly, but don't when are in the same query: the second operation is not executed (and no error message is returned) * **replace node //tei:div[@xml:id="myID"]with <div ns:time='xxx' xml:id="myID">new content</div>,** **replace value of node //tei:div[@xml:id="myID"]/@*:time with "yyy"* Any idea? Is it a bug? Regards, Jérôme C.