Peter Palm wrote: > 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 > > > that's Good! thank you all!
- Is there a "xml formatter"? wangxu
- Re: Is there a "xml formatter"? panshizhu
- Re: Is there a "xml formatter"? Peter Palm
- Re: Is there a "xml formatter"? wangxu
- RE: Is there a "xml formatter"? David Fishburn
- Re: Is there a "xml formatter"? A.J.Mechelynck
- Re: Is there a "xml formatter"? fREW
- Re: Is there a "xml formatter"? A.J.Mechelynck