If SimpleXMLElement object pass, just render the XML