This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: dynamic file variable
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] dynamic file variable
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- Date: Mon, 5 Nov 2001 21:47:42 -0000
- Reply-To: xsl-list at lists dot mulberrytech dot com
> There is an attribute "linkname" in each <ref> like:
> <ref linkname="test_2.xml"/>
>
> I use the following code to get the referenced data:
> <xsl:template match="ref">
> <xsl:variable name="refname">
> <xsl:value-of select="@refname"/>
> </xsl:variable>
>
> Any one can tell me what is wrong?
>
You forgot what you called the attribute. linkname not refname.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list