equal
deleted
inserted
replaced
17 |
17 |
18 template "*", mode="parselabel" |
18 template "*", mode="parselabel" |
19 { |
19 { |
20 const "label","@inkscape:label"; |
20 const "label","@inkscape:label"; |
21 const "id","@id"; |
21 const "id","@id"; |
|
22 |
22 const "description", "substring-after($label,'HMI:')"; |
23 const "description", "substring-after($label,'HMI:')"; |
23 |
24 |
24 const "_args", "substring-before($description,'@')"; |
25 const "_args", "substring-before($description,'@')"; |
25 const "args" choose { |
26 const "args" choose { |
26 when "$_args" value "$_args"; |
27 when "$_args" value "$_args"; |
84 } |
85 } |
85 } |
86 } |
86 } |
87 } |
87 } |
88 } |
88 } |
89 } |
|
90 if "svg:desc" desc value "svg:desc/text()"; |
89 } |
91 } |
90 } |
92 } |
91 |
93 |
92 |
94 |
93 // Templates to generate label back from parsed tree |
95 // Templates to generate label back from parsed tree |