Subject: RE: Getting the value of an attribute
From: "Bradley, Peter" <pbradley@xxxxxxxxxx>
Date: Mon, 29 Sep 2008 16:47:16 +0100
|
Aaargh!
Thank you. As I said, it's been a long day.
Peter
-----Original Message-----
From: Michael Kay [mailto:mike@xxxxxxxxxxxx]
Sent: 29 September 2008 16:46
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: Getting the value of an attribute
> 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/
|