title: how can I render HTML in attribute in XSLT
body: <p>Say I have the following XML:</p>
  
  <pre><code>&lt;root&gt;
      &lt;node attr="&lt;b&gt;hi&lt;/b&gt;" /&gt;
      &lt;node attr="&lt;b&gt;bye&lt;/b&gt;" /&gt;
  &lt;/root&gt;
  </code></pre>
  
  <p>How can I get the XSLT 1.0 code to render the actual HTML in the attribute?</p>
  
  <p>This doesn't work as it ouputs <code>&lt;b&gt;hi&lt;/b&gt;</code>.</p>
  
  <pre><code>&lt;xsl:value-of select="@attr" disable-output-escaping="yes"/&gt;
  </code></pre>
  
  <p>Any ideas?</p>
  
  <p><strong>Clarification</strong></p>
  
  <p>I am using this on SharePoint 2010 in a DVWP WebPart. The WebPart will let me use XSLT to transform the XML returned of a list into HTML that is displayed on the browser. Right now the rendered output is <code>&lt;b&gt;hi&lt;/b&gt;</code> instead of bolded text. I guess what I need to do is disable-output-escaping twice. The first time will get the <code>&lt;b&gt;hi&lt;/b&gt;</code> and the second time it'll be rendered. Make sense?</p>