Add root element for xml library as a parameter.