title: How to set attribute in XML using XSLT?
body: <p>For example, I want to add an attribute to this node:</p>
  
  <pre><code>&lt;Party&gt;
  </code></pre>
  
  <p>So it will look like:</p>
  
  <pre><code>&lt;Party role="this should be set using XPath"&gt;
  </code></pre>
  
  <p>Attribute value has to come from XPath.</p>
  
  <p>The following will not work :)</p>
  
  <pre><code>&lt;Party role=&lt;xsl:value-of select="some/xpath/path"/&gt;&gt;
  </code></pre>
  
  <p>How to do that?</p>