-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathx.json
50 lines (50 loc) · 1.1 KB
/
x.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"name": "xslt",
"description": "XSLT for Chiχ",
"version": "0.0.2",
"repository": {
"type": "git",
"url": "https://github.com/nodule/xslt.git"
},
"dependencies": {
"libxsltjs": "0.x.x"
},
"nodes": [
{
"name": "transform",
"ns": "xslt",
"description": "Transform XML with XSL",
"phrases": {
"active": "Transforming XML"
},
"ports": {
"input": {
"xml": {
"title": "XML",
"type": "string",
"format": "xml"
},
"xsl": {
"title": "XSL Stylesheet",
"type": "string",
"format": "xml"
}
},
"output": {
"out": {
"title": "out",
"type": "string"
}
}
},
"dependencies": {
"npm": {
"libxsltjs": "0.x.x"
}
},
"env": "server",
"fn": "var xml = libxsltjs.readXmlString($.xml);\nvar xsl = libxsltjs.readXsltString($.xsl);\n\noutput.out = $.create(libxsltjs.transform(xml, xsl, []));\n"
}
],
"env": "server"
}