[TxMt] XML formatting

Alan Gardner alan at utahinteractive.org
Thu Mar 8 18:15:20 UTC 2007


Long ago I installed XMLStarlet (http://xmlstar.sourceforge.net/)  
which is a xml command-line utility (one of which is formatting xml,  
validation, etc.). Once installed I created a command in textmate  
like this:

xml fo $TM_FILEPATH

Set the output to replace document with input set at none.

Works great.

Alan

On Mar 8, 2007, at 10:56 AM, Todd Ditchendorf wrote:

> Kind TextMate folk,
>
> A BBEdit feature I find myself missing is the Markup -> Utilities - 
> > Format menu option. this opens a window with several different  
> options for markup formatting. Is there something like this in  
> TextMate?
>
> thanks! tm rulz. ;0)
>
> Todd Ditchendorf
>
> Scandalous Software - Mac XML Developer Tools
> http://scan.dalo.us
>
>
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate




More information about the textmate mailing list