title: How to transform a xml into a html with the xml tags and attributes as text of a html with equivalent tree, using XSLT?
body: <p>I think I never asked a question with such an incomprehensible title, sorry about that.</p>
  
  <p>Let say the XML file I have look like that (not that I don't want to copy/paste, but it's too big):</p>
  
  <pre><code>&lt;A attr1="aaa" attr2="bbb"&gt;
      &lt;B attr8="23156"&gt;
          &lt;C attr10="bla"/&gt;
          &lt;C attr10="bli"/&gt;
          &lt;C attr10="blo"/&gt;
      &lt;/B&gt;
  &lt;/A&gt;
  &lt;A attr1="jhg" attr2="ygyug"&gt;
      &lt;B attr8="126"&gt;
          &lt;C attr10="bla"/&gt;
      &lt;/B&gt;
      &lt;B attr8="102"&gt;
          &lt;C attr10="bla"/&gt;
          &lt;C attr10="blo"/&gt;
      &lt;/B&gt;
  &lt;/A&gt;
  </code></pre>
  
  <p>Well, you got the point, a generic XML file. I don't know the tags, the tags order, and the attributes.
  I have to use XSLT to turn this XML into a HTML file with all the "nodes" and attributes of the xml as text, in an equivalent tree :</p>
  
  <pre><code>&lt;div&gt;
      &amp;lt;A attr1="aaa" attr2="bbb"&amp;gt;
      &lt;div&gt;
          &amp;lt;B attr8="23156"&amp;gt;
          &lt;div&gt;&amp;lt;C attr10="bla"/&amp;gt;&lt;/div&gt;
          &lt;div&gt;&amp;lt;C attr10="bli"/&amp;gt;&lt;/div&gt;
          &lt;div&gt;&amp;lt;C attr10="blo"/&amp;gt;&lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  &lt;div&gt;
      &amp;lt;A attr1="jhg" attr2="ygyug"&amp;gt;
      &lt;div&gt;
          &amp;lt;B attr8="126"&amp;gt;
          &lt;div&gt;&amp;lt;C attr10="bla"/&amp;gt;&lt;/div&gt;
      &lt;/div&gt;
      &lt;div&gt;
          &amp;lt;B attr8="102"&amp;gt;
          &lt;div&gt;&amp;lt;C attr10="bla"/&amp;gt;&lt;/div&gt;
          &lt;div&gt;&amp;lt;C attr10="blo"/&amp;gt;&lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I can get every nodes' name by selecting //node(), I can get attributes by selecting @*, but I can't figure out how to get the html as expected.</p>
  
  <p>Any help you can give will be greatly appreciated :D</p>