Or just try gg=G after you had opened your xml file.
4) to reformat an existing file: gggqG
What is the actual difference of these two commands? I usually use = for code and gq for text, so I presumed that one was for formatting and one was for 'linewidth'ing. -- -fREW