Creating a class from an XML string
Restore a class from a passed XML string. The class must be in a separate file. The getClassName method must return the restored class. The main method is not tested.
Comments inside XML
Implement the toXmlWithComment method, which should return an XML-string representation of the obj object. A comment should be added in the line before each tagName tag. The XML serialization of obj may contain CDATA sections with the specified tag. Don't add comments before them.