A Visual Studio VSPackage which sorts parsable XML, when the text is selected. The children nodes will be sorted by the xml element name, and then by common English attributes: Order, ID, Name. If the XML doesn't have a root node, nothing will happen. The source code for this project can be found on codeplex. If the text which is selected is not valid XML (ie doesn't create a valid XmlDocument) nothing will happen when the Sort XML menu item is clicked on. |