[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: How to include attributes with apply-templates

Subject: Re: How to include attributes with apply-templates
From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx>
Date: Sun, 25 Feb 2007 00:39:09 +0530
Re:  How to include attributes with apply-templates
On 2/23/07, Chad Chelius <cchelius@xxxxxxxxxxxxxxx> wrote:
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.

Mukul Gandhi

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.