Given input like
<a>
<b>
<c>everything below</c>
<d></d>
</b>
<b>
<c>everything below</c>
<d></d>
</b>
</a>
, is there a nice Xpath solution to get
<a>
<c>everything below</c>
<c>everything below</c>
</a>
, (so to say do an “unwrap-remove-select-wrap”), or how I would I achieve this most comfortably?
Thanks to all, I think I could find what I want with your answers’ help:
… I think does what I wanted, without using additional templates, in a short and concise way.