Rob,
from the first post, it seems that the OP wants to group adjacent
siblings of the same type and *then* wrap them within <table> elements.
You solution would wrap each and every element on itself. But I am
guessing, the OP did not state this explicitly, nor did he give
input/output examples.
Cheers,
Abel
Robert Koberg wrote:
Hi,
Is the OP sure that the elements wrapping the rows cannot be determined
beforehand and have templates set up for those? If so, from what I can
see, all that is needed is:
<xsl:template match="tbl-type1 | tbl-type2 | tbl-type-etc">
<table>
<xsl:apply-templates/>
</table>
</xsl:template>
<xsl:template match="node() | @*">
<xsl:copy>
<xsl:appy-templates select="node() | @*" />
</xsl:copy>
</xsl:template>
best,
-Rob
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--