On Fri, Feb 14, 2003 at 12:13:52PM -0500, Rodent of Unusual Size wrote:
> do there exist any prettyprinter packages for xml, preferably
> along the lines of the 'indent' tool for c?
> 
> odd question perhaps, but everyone i've asked about this has
> mentioned stylesheets -- and all i've found have to do with
> using them to transform xml into something else, rather than
> reformatting it.

'xmllint -format' works pretty well.  xmllint is part of libxml2.  Nice,
fast, good validation error messages, supports catalogs and xinclude.

--Jeff

> -- 
> #ken  P-)}
> 
> Ken Coar, Sanagendamgagwedweinini  http://Golux.Com/coar/
> Author, developer, opinionist      http://Apache-Server.Com/
> 
> "Millennium hand and shrimp!"

---------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to