Browse files

Adding the main library file.

  • Loading branch information...
1 parent 7b992ef commit 0964f2bd8925309f8e849636f3ad84fd670fc136 @Zoramite Zoramite committed Feb 16, 2012
Showing with 15 additions and 0 deletions.
  1. +15 −0 lib/xml2object.js
View
15 lib/xml2object.js
@@ -0,0 +1,15 @@
+/**
+ * Simple xml 2 javascript object parser based on sax.js
+ *
+ * https://github.com/emberfeather/node-xml2object
+ */
+emitter = requires('events').EventEmitter;
+var sax = require('sax');
+
+var xml2object = exports.xml2object = function(xmlFile) {
+ this.xmlFile = xmlFile;
+};
+
+xml2object.prototype.start = function() {
+ // TODO stuff
+}

0 comments on commit 0964f2b

Please sign in to comment.