Multiple replace in restxq using Basex



I want to update my original xml file using multiple replace expression in restxq. Here is my code : ====================================== replace value of node doc("book.xml")/book/body/reason[1]/item/title with $title, replace value of node doc("book.xml")/book/body/reason[1]/item/contents/basic_concept/mean with $mean, replace value of node doc("book.xml")/book/body/reason[1]/item/contents/basic_concept/form with structure, ... ... ... =======================================


But it doesn't change all the nodes simutaneously, it seems to change the nodes one at a time. I have tried several times, but it updates the nodes one by one in turn. I want to flush all the values of nodes at once. Is there any solution?


No comments:

Post a Comment