Subject: RE: Q XSLT: How to copy elements with XT? From: Kay Michael <Michael.Kay@xxxxxxx> Date: Tue, 26 Sep 2000 18:11:21 +0100 |
> The problem is that I do not know how apply templates to my elements > only and copy XHTML tags into result file without changes. Write a default template that copies elements: <xsl:template match="*"> <xsl:copy> <xsl:copy-of select="@*"/> <xsl:apply-templates/> </xsl:copy> </xsl:template> And then specific template rules for your own elements that do something different. Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Q XSLT: How to copy elements with X, v . rudowitsch | Thread | Re: Q XSLT: How to copy elements wi, Joerg Colberg |
How do Comments affect Performance?, Paul Essex | Date | RE: Problems with XSL code, Kay Michael |
Month |