| 
 
Subject: Re: [xsl] element name as attribute value From: David Carlisle <davidc@xxxxxxxxx> Date: Tue, 23 Jan 2007 10:10:02 GMT  | 
it depends what you want to do.
<xsl:template match="Y">
  <B attribute="Y"/>
</xsl:template>
or
<xsl:template match="X">
  <B attribute="{name(*[1])}">
</xsl:template>
both generate   <B attribute="Y"> from the posted input.
David
| Current Thread | 
|---|
  | 
| <- Previous | Index | Next -> | 
|---|---|---|
| Re: [xsl] element name as attribute, George Cristian Bina | Thread | [xsl] something I'd really like in , bryan rasmussen | 
| Re: [xsl] element name as attribute, George Cristian Bina | Date | [xsl] something I'd really like in , bryan rasmussen | 
| Month |