Is there a way to use TextWrangler to clean-up / tidy messy XML ?

Posted by MW on Stack Overflow See other posts from Stack Overflow or by MW
Published on 2010-06-10T20:24:55Z Indexed on 2010/06/10 20:42 UTC
Read the original article Hit count: 278

Filed under:

I don't need it to validate ( though that would be nice I don't think text wrangler does this) but to clean up messy .xml.

example this ...

<some><foo>
bar</foo></some>

to ...

<some>
   <foo>bar</foo>
</some>

thanks -MW

© Stack Overflow or respective owner

Related posts about Xml