xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Sanders" <ssand...@nextance.com>
Subject RE: prettyprinters for xml?
Date Fri, 14 Feb 2003 17:26:29 GMT
Tidy[1], as well as jtidy[2], have an xml pretty print option.

Just type 'tidy -xml file', and you're all set.

The other option is passing the xml through a stylesheet that does it.

Scott

[1] http://www.w3.org/People/Raggett/tidy/
[2] http://sourceforge.net/projects/jtidy

> -----Original Message-----
> From: Rodent of Unusual Size [mailto:Ken.Coar@Golux.Com] 
> Sent: Friday, February 14, 2003 9:14 AM
> To: general@xml.apache.org
> Subject: prettyprinters for xml?
> 
> 
> 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.
> -- 
> #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:     webmaster@xml.apache.org
> To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
> For additional commands, e-mail: general-help@xml.apache.org
> 
> 

---------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org


Mime
View raw message