-
Notifications
You must be signed in to change notification settings - Fork 1
/
variable_library.mustache
37 lines (37 loc) · 1.33 KB
/
variable_library.mustache
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
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20001102//EN" "http://www.w3.org/TR/2000/CR-SVG-20001102/DTD/svg-20001102.dtd" [
<!ENTITY ns_graphs "http://ns.adobe.com/Graphs/1.0/">
<!ENTITY ns_vars "http://ns.adobe.com/Variables/1.0/">
<!ENTITY ns_imrep "http://ns.adobe.com/ImageReplacement/1.0/">
<!ENTITY ns_custom "http://ns.adobe.com/GenericCustomNamespace/1.0/">
<!ENTITY ns_flows "http://ns.adobe.com/Flows/1.0/">
<!ENTITY ns_extend "http://ns.adobe.com/Extensibility/1.0/">
]>
<svg>
<variableSets xmlns="&ns_vars;">
<variableSet locked="none" varSetName="binding1">
<variables>
{{#variables}}
{{#textcontent}}
<variable category="&ns_flows;" trait="textcontent" varName="{{varName}}"></variable>
{{/textcontent}}
{{#visibility}}
<variable category="&ns_vars;" trait="visibility" varName="{{varName}}"></variable>
{{/visibility}}
{{#fileref}}
<variable category="&ns_vars;" trait="fileref" varName="{{varName}}"></variable>
{{/fileref}}
{{/variables}}
</variables>
<v:sampleDataSets xmlns:v="&ns_vars;" xmlns="&ns_custom;">
{{#datasets}}
<v:sampleDataSet dataSetName="{{dataSetName}}">
{{#vars}}
<{{varName}}>{{{value}}}</{{varName}}>
{{/vars}}
</v:sampleDataSet>
{{/datasets}}
</v:sampleDataSets>
</variableSet>
</variableSets>
</svg>