1 // package xml is xml testing package that supports xml comparison utility. 2 // The package consists of XMLToStruct and StructToXML utils that help sort xml elements 3 // as per their nesting level. XMLToStruct function converts an xml document into a sorted 4 // tree node structure, while StructToXML converts the sorted xml nodes into a sorted xml document. 5 // SortXML function should be used to sort an xml document. It can be configured to ignore indentation 6 package xml 7