Implement SimpleXmlElement.

Simplified by using SimpleXmlElement.