|
Subject: RE: [xsl] newbie question From: "Dion Houston" <dionh@xxxxxxxxxxxxxxxxxxxxx> Date: Fri, 7 Mar 2003 15:45:08 -0800 |
Easiest way is an attribute value template (AVT):
<dst value="{@vv}"/>"><xsl:value-of "."></dst>
HTH!
Dion
-----Original Message-----
From: Rolf Schumacher [mailto:rolf.schumacher@xxxxxxxxxx]
Sent: Friday, March 07, 2003 3:32 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
I missed something - must be easy - but I cannot find how to achieve it:
how to get an attribute value into an attribute value?
source:
<ns:x vv="yy">text</ns:x>
desired destination
<dst value="yy">text</dst>
transformation
<xsl:template match="ns:x">
<dst value="???????"/>"><xsl:value-of "."></dst>
</xsl:template>
What has to be typed instead of ??????? in order to refer to the value
of the attribute vv of node ns:x?
Thanks in advance.
Rolf
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] newbie question, Rolf Schumacher | Thread | RE: [xsl] newbie question, Martinez, Brian |
| [xsl] newbie question, Rolf Schumacher | Date | Re: [xsl] newbie question, Jarkko . Moilanen |
| Month |