Op woensdag 30 mei 2007, schreef wangxu:
> I want to have this function:
> formatting my xml file automatically.
> or,indent xml element and attributes.
>
> is there any plugin like this?
> thanks!

Well, if you're on a unix machine with xmllint installed, you could do 
the following:

setlocal equalprg=xmllint\ --format\ -

and then use gg=G to reformat the entire document.


Peter Palm

Reply via email to