You may want to look into xmlindent as well: http://xmlindent.sourceforge.net/ - it has some real limitations, but perhaps could be used to do what you want.
@alex
You may want to look into xmlindent as well: http://xmlindent.sourceforge.net/ - it has some real limitations, but perhaps could be used to do what you want.
@alex