xml/html case added for data return type