Probably you need a identity transform, and other templates for some specific nodes.. If this is not ok! Please explain the problem bit more clearly!
<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="html" /> <xsl:template match="node() | @*"> <xsl:copy> <xsl:apply-templates select="node() | @*" /> </xsl:copy> </xsl:template> <xsl:template match="code"> <i><xsl:apply-templates /></i> </xsl:template> <xsl:template match="content"> <xsl:apply-templates /> </xsl:template> </xsl:stylesheet> Regards, Mukul On Apr 8, 2005 2:45 PM, Kostas Karadamoglou <[EMAIL PROTECTED]> wrote: > Hi Mukul, > > I don't think that the xsl:copy-of is the best solution as you can see > from the example xml code that I provided you in my first message the > "content" element contains html tags and custom xml tags. I would like > to deep copy html tags and apply templates to custom xml tags. If I use > xsl:copy-of then the custom tags will not be applied. >
