formattare con una bella indentazione i file XML è semplicissimo.
Al seguente link
ho trovato le impostazioni che vedete sotto.
Per utilizzarle in PSPAD è sufficiente scegliere:
HTML -> TiDy -> Modifica
e aggiungerle in fondo al file di configurazione di TiDy.
Salvare e adesso nel menù di TiDy (HTML -> TiDy) l'ultima scelta sarà
TiDy formatta XML
che indenterà correttamente il file XML
[TiDy formatta XML]add-xml-decl:yesadd-xml-pi:yesalt-text:Imagebreak-before-br:nodoctype:AUTOdrop-empty-paras:nodrop-font-tags:yesfix-bad-comments:yeshide-endtags:nochar-encoding:rawindent:yesindent-spaces:2input-xml:yesoutput-xml:yesquiet:yestidy-mark:nouppercase-attributes:nouppercase-tags:noword-2000:nowrap:100wrap-asp:yeswrap-attributes:yeswrap-jste:yeswrap-php:yeswrite-back:yes