We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7b8d84 commit 71f8124Copy full SHA for 71f8124
example.js
@@ -34,6 +34,9 @@ var parser = new xml.SaxParser(function(cb) {
34
});
35
36
37
+//example read from file
38
+parser.parseFile("sample.xml");
39
+
40
//example read from chunks
41
parser.parseString("<html><body>");
42
parser.parseString("<!-- This is the start");
@@ -47,6 +50,6 @@ parser.parseString(" cdata ]]>");
47
50
parser.parseString("</body");
48
51
parser.parseString("></html>");
49
52
-//example read from file
-parser.parseFile("sample.xml");
53
54
55
0 commit comments