WriteAttributes
WriteAttributes(node, attrNames, attrValues, attrCount);
WriteAttributes(node, attrNames, newAttrValues, attrCount);