This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: dynamic file variable


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]