 SELECT updateXML(c.population,
                 'Population/text()','1000000',
                 'Population/@YEAR','2004')
 FROM CityXML c WHERE name='Gottingen';

 SELECT updateXML(value(c),
                 '/Country/Name/text()','Fidschi')
 FROM CountryXML c
 WHERE extractValue(value(c),'Country/Name')='Fiji';
