Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updating the readme to show the source setter.

  • Loading branch information...
commit f37a5b548b031bbc9fcc8e1a5d03023e6f199315 1 parent a38578f
@Zoramite Zoramite authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 readme.md
View
4 readme.md
@@ -96,6 +96,10 @@ If no source is specified you can set a readable Stream to `.source` or pipe a S
The input Stream used as a source for parsing. Can be set to a xml file path or a readable stream.
+ var parser = new xml2object([ 'animal' ]);
+
+ parser.source = 'myAnimals.xml';
+
### .saxStream
The underlying sax Stream. Data can be piped directly to the sax Stream using the `pipe()`.

0 comments on commit f37a5b5

Please sign in to comment.
Something went wrong with that request. Please try again.