|
Subject: Re: [xsl] How to include attributes with apply-templates From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx> Date: Sun, 25 Feb 2007 00:39:09 +0530 |
What selector do I ad to the xsl:apply-templates to pull the attributes over from my source to the destination?
As Spencer said, you need to use <xsl:copy-of select="@*" /> to copy attribute nodes from source tree to result tree.
The purpose of xsl:apply-templates is to find templates in the stylesheet (or use built-in template rules) and apply them to the nodes from source tree.
-- Regards, Mukul Gandhi
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] How to include attributes, Spencer Tickner | Thread | [xsl] Splitting Excel XML tables us, Scott Lynch |
| Re: [xsl] document function serving, Steve | Date | [xsl] com.sun.org.apache.bcel.inte, Mini Vatsala |
| Month |