update replace input()/anuncio/estado[//DGMkey="xxxxxxx"]with <estado>Publicable</estado>update for $a in input()/anunciowhere $a/DGMkey="xxxxxxx"do replace $a/tag1/tab2 with <tag2>98</tag2>