equal
deleted
inserted
replaced
63 otherwise > «func:parselabel($hmi_pages/@inkscape:label)/widget/arg[1]/@value» |
63 otherwise > «func:parselabel($hmi_pages/@inkscape:label)/widget/arg[1]/@value» |
64 } |
64 } |
65 |
65 |
66 const "_categories" { |
66 const "_categories" { |
67 noindex > HMI_ROOT |
67 noindex > HMI_ROOT |
68 noindex > HMI_NODE |
|
69 noindex > HMI_PLC_STATUS |
68 noindex > HMI_PLC_STATUS |
70 noindex > HMI_CURRENT_PAGE |
69 noindex > HMI_CURRENT_PAGE |
71 } |
70 } |
72 const "categories", "exsl:node-set($_categories)"; |
71 const "categories", "exsl:node-set($_categories)"; |
73 const "_indexed_hmitree" apply "$hmitree", mode="index"; |
72 const "_indexed_hmitree" apply "$hmitree", mode="index"; |
280 xsl:copy { |
279 xsl:copy { |
281 attrib "index" > «$index» |
280 attrib "index" > «$index» |
282 attrib "hmipath" > «$path» |
281 attrib "hmipath" > «$path» |
283 foreach "@*" xsl:copy; |
282 foreach "@*" xsl:copy; |
284 } |
283 } |
285 /* no node expected below value nodes */ |
284 apply "*[1]", mode="index"{ |
|
285 with "index", "$index + 1"; |
|
286 with "parentpath" > «$path» |
|
287 } |
286 } |
288 } |
287 otherwise { |
289 otherwise { |
288 apply "*[1]", mode="index"{ |
290 apply "*[1]", mode="index"{ |
289 with "index", "$index"; |
291 with "index", "$index"; |
290 with "parentpath" > «$path» |
292 with "parentpath" > «$path» |