equal
deleted
inserted
replaced
114 param "ancest"; |
114 param "ancest"; |
115 // TODO : use HMI tree to answer more accurately |
115 // TODO : use HMI tree to answer more accurately |
116 result "string-length($ancest) > 0 and starts-with($descend,$ancest)"; |
116 result "string-length($ancest) > 0 and starts-with($descend,$ancest)"; |
117 } |
117 } |
118 |
118 |
|
119 def "func:same_class_paths" { |
|
120 param "a"; |
|
121 param "b"; |
|
122 const "class_a", "$indexed_hmitree/*[@hmipath = $a]/@class"; |
|
123 const "class_b", "$indexed_hmitree/*[@hmipath = $b]/@class"; |
|
124 result "$class_a and $class_b and $class_a = $class_b"; |
|
125 } |
119 |
126 |
120 // Debug data |
127 // Debug data |
121 template "*", mode="testtree"{ |
128 template "*", mode="testtree"{ |
122 param "indent", "''"; |
129 param "indent", "''"; |
123 > «$indent» «local-name()» |
130 > «$indent» «local-name()» |