I have on my database a table with one column storing XML data. Due to changes in the source code we want to rename one specific XML node name and XML namespace. Lets say th
I don't know if this is possible with XML DML
It might work for you to use replace instead.
update YourTable set XMLCol = replace(replace(cast(XMLCol as nvarchar(max)), '<MediaClass xmlns="MediaClass/1">', '<Book xmlns="Book/1">'), '</MediaClass>', '</Book>')