added handling for xmlnamespace
updated the root element name to match the requirements