Windows 10, Emacs 25.1
Is it possible to pretty format XML file?
E.g. here not formatted xml:
<?xml version="1.0" encoding="UTF-8"?><items xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><category><category_id>2</category_id><category_title>Music</category_title></category><category><category_id>1</category_id><category_title>Entertainment</category_title></category></items>
So after format I must get the next result:
<?xml version="1.0" encoding="UTF-8"?>
<items xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<category>
<category_id>2</category_id>
<category_title>Music</category_title>
</category>
<category>
<category_id>1</category_id>
<category_title>Entertainment</category_title>
</category>
</items>
Is it possible?