How to get IntelliJ IDEA to indent xml tags with attributes on multiple lines?
2 answers
Interestingly, neither the output you report nor the output you need matches the XSLT / XQuery specification rules for indentation, here
http://www.w3.org/TR/xslt-xquery-serialization/#xml-indent
which reads:
Space characters SHOULD NOT be added next to node text that contains characters without spaces.
The reason is that adding spaces here can very easily render a document outline invalid.
0