Tool to indent XML data

typ0 typ0 at
Sat Jul 14 13:43:14 EDT 2007

Nice! Thank you both for sharing. Allan Clark also pointed out  
"xmllint --format" command for the same task.

- Carlos

On Jul 14, 2007, at 2:01 AM, Nathan Walp wrote:

> Gary Kramlich wrote:
>> typ0 wrote:
>>> They are. Thanks for pointing them out before i made the mistake  
>>> of  re-implementing them :)
>>> - Carlos
>> <snip>
>> I'd also point out that if you're using vim and have formatting  
>> turned on, from the top of the file, in command mode, hit v, then  
>> scroll down to the bottom and press =.  That should indent  
>> everything nicely as well.
> Or, you can just type '=G' and not have to highlight the whole damn  
> thing. ;-)
> -Nathan

More information about the Devel mailing list