I am attempting to update an attribute on a category to a blank string using SetObjectAttributesXML but it does not appear to be working. I can successfully update an attribute to another value. For example, '' to 'Some Value' works, 'Some Value' to 'Some Value Changed' works, but 'Some Value' to '' does not work.
Attached are 2 XML files. The first (Original.xml) is an output of the Category and Attributes on the document before any update and was obtained using GetObjectAttributesXML. The second (Updated.xml) is the updated Category and Attributes I am using to update the value of 'An Attribute' from 'Some Value' to ''.
When this is run using the VB.NET code attached (code.txt), the Attribute does not update. Please can someone advise what I am doing wrong and how I can get this update working.