Steve - 2007-05-03

I'm trying to format XML files a specific way. I've already found the XML Tools plug-in, which appears to almost do what I am looking for. It will take XML and make each element have it's own line, indented to reflect the tree.

What I'd like to do on top of this is have an element's attributes also have their own lines, indented appropriately.

Desired formatting example:
<tag1>
. <tag2
. . . . attribute1="something"
. . . . attribute2=aValue
. . . . attribute3 >
. . <tag3>
. . . Some content for tag3
. . </tag3>
. </tag2>
<tag1>

I've done this using find-replace with regular expressions in visual studio, but it would be GREAT to use this tool instead...