Skip to content

smtlaissezfaire/xmlpretty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

xmlpretty

An xml pretty printer.

Installation

gem install xmlpretty

Usage

Just pipe your xml into xmlpretty

$ echo '<foo><bar baz="quxx">something</bar></foo>' | xmlpretty
<foo>
  <bar baz='quxx'>
    something
  </bar>
</foo>

Indent levels can be specified by the first argument

$ echo '<foo><bar baz="quxx">something</bar></foo>' | xmlpretty 4
<foo>
    <bar baz='quxx'>
        something
    </bar>
</foo>

About

an xml pretty printer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages