It would be easier to answer if you said what output you want. But you just use the standard XSLT technique of using xsl:apply-templates to recurse down the tree:
<xsl:template match="content">
... do something...
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="br">
... do something...
</xsl:template>
__________________
Michael Kay
http://www.saxonica.com/
Author, XSLT 2.0 and XPath 2.0 Programmer\'s Reference
|