Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Adding the main library file.

  • Loading branch information...
commit 0964f2bd8925309f8e849636f3ad84fd670fc136 1 parent 7b992ef
Randy Merrill Zoramite authored
Showing with 15 additions and 0 deletions.
  1. +15 −0 lib/xml2object.js
15 lib/xml2object.js
View
@@ -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
+}
Please sign in to comment.
Something went wrong with that request. Please try again.