Expand|Select|Wrap|Line Numbers
- <element>
- <child>
- <grandchild>
- otherWord
- </grandchild>
- <grandchild>
- triggerExclusion
- </grandchild>
- </child>
- </element>
- <element>
- <child>
- <grandchild>
- otherWord
- </grandchild>
- </child>
- </element>
This doesn't work for me:
Expand|Select|Wrap|Line Numbers
- <template match="element[not(child/grandchild eq 'triggerExclusion')"]>
- <copy>
- <apply-templates/>
- </copy>
- </template>
Please, how do I select elements where a descendent of arbitrary depth has some value?
TIA