I know that to display the contents of an element node its a simple xsl:value-of select="" but how would I display the contents of an attribute of that element? For instance I have an element called "league" and would like to display the contents of its attribute "lname"
Posted by at January 27, 2003 11:59 PM | TrackBackjust throw at "at" symbol in front of your attribute name like this:
xsl:value-of select="league/@lname"
or just:
xsl:value-of select="@lname"
depending on your context...
Posted by: sheri on January 28, 2003 08:54 AM