mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-02-06 15:04:58 +00:00
Update README.md
This commit is contained in:
parent
253cc80cd3
commit
cf95a4bcb5
10
README.md
10
README.md
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user