Altova Mailing List Archives
>comp.text.xml Archive Home
>Thread Prev - How-To: Preserve embedded XHTML tags during XSLT tranform?
>Thread Next - Re: How-To: Preserve embedded XHTML tags during XSLT tranform?
Re: How-To: Preserve embedded XHTML tags during XSLT tranform?
Date: 9/24/2004 9:45:00 AM
If your xhtml really is in xhtml (ie is in the xhtml namespace) then you can easily match on all the xhtml elements without having to list them <xsl:template match="h:*" xmlns:h="http://www.w3.org/1999/xhtml"> .... However I suspect that all you want to do is copy the content of a note element in to the output as-is, in which case you don't need templates at all, eg <xsl:template match="note"> <div> <xsl:copy-of select="node()"/> </div> </xsl:template> David