RE: [xsl] dynamic file variable

Subject: RE: [xsl] dynamic file variable
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Mon, 5 Nov 2001 21:47:42 -0000
> 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:

Current Thread