I had tried with using the XMLNSC.Attribute or XMLNSC.Element, but those didnt work for some reason. Anyway, this was just a quick work around. There is a fix available, so I would use that
IF FIELDTYPE(theElement) = NameValue THEN set new field equal to this one.
ELSEIF FIELDTYPE(theElement) = Name THEN set new field = NULL or spaces. If it has ...