Remove displayXMLChild() function

Removed displayXMLChild() function and made the displayXML() function
recursive.