xsl-list
[Top] [All Lists]

RE: [xsl] Getting the value of an attribute

2008-09-29 11:48:00
Aaargh!

Thank you.  As I said, it's been a long day.


Peter


-----Original Message-----
From: Michael Kay [mailto:mike(_at_)saxonica(_dot_)com] 
Sent: 29 September 2008 16:46
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: RE: [xsl] Getting the value of an attribute

Why does this stylesheet (fragment):

                    <xsl:value-of
select="Exception/additionalInfo/info[(_at_)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/


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>