title: Umbraco - xslt variable into data attribute
body: <p>I have a value in xslt and I need to put it into the data-time attribute of the p tag</p>
  
  <pre><code> &lt;xsl:value-of select="current()/eventTime" /&gt;
   &lt;p class="time" data-time="1"&gt;Duration: &lt;xsl:value-of select="current()/eventTime" /&gt; hour(s)&lt;/p&gt;
  </code></pre>
  
  <p>this creates an error</p>
  
  <pre><code>&lt;p class="time" data-time="&lt;xsl:value-of select="current()/eventTime" /&gt;"&gt;Duration: &lt;xsl:value-of select="current()/eventTime" /&gt; hour(s)&lt;/p&gt;
  </code></pre>
  
  <p>any idea how I achieve this?</p>