I realized that my full example for the last one had this template rule in it, which makes it work as-is:
<xsl:template match="@*|node()">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
There was also no output="text" at the top.
I try to only show the code that matters in an example, but I was apparently slashing too much here. You can see it work in the zip file of examples as grouping5.xsl. Until the link from the article to the zip file is fixed, you can get a copy at www.snee.com/bob/temp/trxml42code.zip.
Bob
|