Getting the value of an attribute in XML Getting the value of an attribute in XML xml xml

Getting the value of an attribute in XML


This is more of an xpath question, but like this, assuming the context is the parent element:

<xsl:value-of select="name/@attribute1" />