Skip to content

Commit

Permalink
Merge pull request #14 from teleclimber/patch-1
Browse files Browse the repository at this point in the history
Explain how to get indented output
  • Loading branch information
touv committed Oct 21, 2014
2 parents 1fad56f + 3c07de7 commit d50c58c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -39,6 +39,8 @@ Output:
<?xml version="1.0"?>
<root foo="value">Some content</root>

Tip: If you want your XML **indented** use `new XMLWriter(true)`.

## Chaining
```javascript
var XMLWriter = require('xml-writer');
Expand Down

0 comments on commit d50c58c

Please sign in to comment.