I would like to update a column of datatype XML in a table for all the records in that table.
For example below is the content of XML for a single row:
<assessmentItem xmlns="http://www.imsglobal.org/xsd/apip/apipv1p0/qtiitem/imsqti_v2p2"
adaptive="false" identifier="VHXYZ" timeDependent="false"
title="ZonesSS" toolName="IBIS Export" toolVersion="1.0">
<responseDeclaration baseType="identifier" cardinality="single"
identifier="VH221999_order_match_choice_list_10.RESPONSE">
<correctResponse>
<value>i2</value>
</correctResponse>
</responseDeclaration>
<outcomeDeclaration baseType="float" cardinality="single" identifier="SCORE">
<defaultValue>
<value>0</value>
</defaultValue>
</outcomeDeclaration>
</assessmentItem>
I want to change this to
<assessmentItem xmlns="http://www.imsglobal.org/xsd/apip/apipv1p0/qtiitem/imsqti_v2p2"
adaptive="false" identifier="VHXYZ" timeDependent="false" title="ZonesSS"
toolName="IBIS Export" toolVersion="1.0">
<responseDeclaration baseType="identifier" cardinality="single" identifier="RESPONSE">
<correctResponse>
<value>i2</value>
</correctResponse>
</responseDeclaration>
<outcomeDeclaration baseType="float" cardinality="single" identifier="SCORE">
<defaultValue>
<value>0</value>
</defaultValue>
</outcomeDeclaration>
</assessmentItem>
Basic change is change the value of attribute identifier="RESPONSE" in <responseDeclation> tag.