Strip leading and trailing whitespace of xml tag values.