How would one get the value of attribute1 (blah) in the following xml using xslt:
<name attribute1="blah" attribute2="blahblah"> </name>
This is more of an xpath question, but like this, assuming the context is the parent element:
<xsl:value-of select="name/@attribute1" />
2.1m questions
2.1m answers
60 comments
57.0k users