Fix XmlBuilder with SimpleXMLElement