Subject: Re: [xsl] Attribute Value Template From: "Vasu Chakkera" <vasucv@xxxxxxxxxxx> Date: Sat, 05 Apr 2003 13:51:37 +0000 |
HTH Vasu Chakkera
From: "David B. Bitton" <david@xxxxxxxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: [xsl] Attribute Value Template Date: Sat, 05 Apr 2003 00:11:48 -0500
OK, So now i have the following non-functioning template:
<xsl:template match="sub"> <xsl:variable name="name" select="./@name"/> <xsl:value-of select="{$name}"/> </xsl:template>
What I am trying to accomplish is extracting a value from the underlying XML, and then pulling a value from an xsl:variable with the same name as the data that came from the XML.
Any ideas? :)
-- David B. Bitton david@xxxxxxxxxxxxxx www.codenoevil.com
Code Made Fresh Daily?
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Attribute Value Template, David B. Bitton | Thread | [xsl] Adding Dates and Durations, Stephen Stewart |
RE: [xsl] Attribute Value Template, Michael Kay | Date | Re: [xsl] Tag within tag, David B. Bitton |
Month |