Code Robo
Virtual Service
Tester / Comparator
Converter
Utility
Java Code Complience
Validator
Formatter
EncoderDecoder

XML Formatter With Sorting

XMl is heaviliy used almost in all applications. Very frequently to debug an issue we take XML from log which is unformatted. Formatter is required to format the XML captured from log. Along with formatting, sometimes we need to sort the xml also alphabetically.

This Easycodeforall XML formater has the capbility of formating an XML and sorting it alphabetically after formatting. It can sort both elements and attributes in the XML document. Sorting is optional and its done based on user input selection. This Xml formater format XML string with 4 space indentation. Just need to provide the XML string content as input.
Click Here To Watch A Demo On It.

XML:(* Required): It is required.
 
Sort the output after formatting in alphabetical order.
XML Examples:

All of the examples use the following sample XML code.
XML 1:


How It Works: