Update README.md

This commit is contained in:
Namhyeon Go 2020-11-09 17:40:58 +09:00 committed by GitHub
parent 253cc80cd3
commit cf95a4bcb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,6 +66,16 @@ C:\Users\John\Documents\GitHub\welsonjs> cscript app.js sayhello
hello
```
## [NEW] Advanced XML Parser
```
var XML = require("lib/xml");
var nodes = XML.load("example.xml").select("/example/category1").filter(function(node) {
return (node.getText() == "available");
}).forEach(function(node) {
console.log(node.getAttribute("key1"));
}).toArray();
```
## Make own setup file
- compile `setup.iss` file with [Inno Setup](https://jrsoftware.org/isinfo.php)