Small PHP utility to allow elegant, self-validating conversions from an array to well-formed XML.