imagine, for example, I wanted to take any expression in XSLT and pretty print it,
e.g.
<xsl:sequence select=”kooks:pprint((1,’2′))”/>
would evalue to
“(1,’2′)”
so you would recursive match on the structure of the expression, so the 1st thing you want to match on is the sequence.
(ok, this is the wrong syntax) but
<xsl:template mode=”pprint” match=”item()*”>
…..
</xsl:template>
ok, there’s lots wrong here, but the 1st thing is that match=”item()*” is simply invalid.
(this isnt a perfect example but it should be good enough to get the general idea across)