RE: [xsl] Getting the value of an attribute

Subject: RE: [xsl] Getting the value of an attribute
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Mon, 29 Sep 2008 16:46:28 +0100
> Why does this stylesheet (fragment):
> 
>                     <xsl:value-of
> select="Exception/additionalInfo/info[@name='AppDomainName']/@name"/>
>                 </xsl:attribute>
> 
> not give me the value of the AppDomainName attribute 

because you asked for its @name, not for its @value.

Michael Kay
http://www.saxonica.com/

Current Thread