added class to create html from xml