How to run multiple update queries?

I have a series of update queries, like the ones below:

update for $a in input()/NDFRRedactieData where $a/@WetID =“W6826” and $a/@ArtCode=“1” do replace $a/@Status with attribute Status {“AUTEUR”};
update for $a in input()/NDFRRedactieData where $a/@WetID =“W6826” and $a/@ArtCode=“10” do replace $a/@Status with attribute Status {“NIEUW”};
update for $a in input()/NDFRRedactieData where $a/@WetID =“W6826” and $a/@ArtCode=“11” do replace $a/@Status with attribute Status {“NIEUW”};
update for $a in input()/NDFRRedactieData where $a/@WetID =“W6826” and $a/@ArtCode=“12” do replace $a/@Status with attribute Status {“NIEUW”};
update for $a in input()/NDFRRedactieData where $a/@WetID =“W6826” and $a/@ArtCode=“13” do replace $a/@Status with attribute Status {“NIEUW”};
update for $a in input()/NDFRRedactieData where $a/@WetID =“W6826” and $a/@ArtCode=“14” do replace $a/@Status with attribute Status {“NIEUW”};
update for $a in input()/NDFRRedactieData where $a/@WetID =“W6826” and $a/@ArtCode=“15” do replace $a/@Status with attribute Status {“NIEUW”};
update for $a in input()/NDFRRedactieData where $a/@WetID =“W6826” and $a/@ArtCode=“16” do replace $a/@Status with attribute Status {“NIEUW”};
update for $a in input()/NDFRRedactieData where $a/@WetID =“W6826” and $a/@ArtCode=“17” do replace $a/@Status with attribute Status {“NIEUW”};
update for $a in input()/NDFRRedactieData where $a/@WetID =“W6826” and $a/@ArtCode=“18” do replace $a/@Status with attribute Status {“NIEUW”};

Is there any easy way to run these?

In SQL these queries would be parsed one after another, separated by the semi-colon. But in the interactive interface an the X-query tool of Tamino I’m only able to run one querie at the time…

In general, you can have an arbitrary number of update actions within one query, e.g.
update for $a in input()/NDFRRedactieData do
(for $x in $a where $x/@WetID =“W6826” and $x/@ArtCode=“1” do replace $x/@Status with attribute Status {“AUTEUR”}
for $x in $a where $x/@WetID =“W6826” and $x/@ArtCode=“10” do replace $x/@Status with attribute Status {“NIEUW”})

in your case, you can also update multiple documents in the following way:

update for $a in input()/NDFRRedactieData where $a/@WetID =“W6826” and $a/@ArtCode=(“10”,“11”,"12) do replace $a/@Status with attribute Status {“NIEUW”};