Subject: RE: Substituting value in XML Attribute
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Fri, 9 Mar 2001 10:42:54 -0000
|
> If I write XSL like this
> <xsl:variable name="myvar" select="@ID"/>
> <MYCustomer ID="$myvar">
> </MYCustomer>
>
> the result is comming as
> <MYCustomer ID="$myvar">
> </MYCustomer>
You want ID="{$myvar}". It's called an attribute value template,if you want
to look it up.
Mike Kay
Software AG
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|
Michael Kay - Fri, 9 Mar 2001 05:40:37 -0500 (EST) <=
Michael Kay - Fri, 9 Mar 2001 05:36:21 -0500 (EST)
Edmund Mitchell - Thu, 8 Mar 2001 13:19:53 -0500 (EST)
|
|