Separate extendable methods for xml key and value processing