Tunnel parameters and xsl:next-match
by Jeni Tennison
I wrote some XSLT the other day that was so neat it made me smile, so I thought I’d share it. It’s an example of how the new
<xsl:next-match> instruction and tunnel parameters can combine to simplify your code. Fair warning: this is XSLT 2.0 through-and-through, and the use case here is one you will only care about if you process documents (rather than data), and pretty complex documents at that.