title: Display indented XML code within a HTML page
body: <p>I have a programmatically created HTML document on which I would like to show some XML-<strong>code</strong>, fully formatted with line breaks and tabulators. That is, it should look like if you drag an xml file without a xml-stylesheet directly onto your browser (most browsers do some kind of xml-rendering with some default style sheet).</p>
  
  <p>Now, I <em>can</em> of course escape all the characters (like <code>&lt;&gt;</code>, tab and newline) and do the indenting myself (using css styles, for example), but I was wondering whether I couldn't re-use some 'default' xml-stylesheet from somewhere. Preferrably also one that has some javascript node-folding, too.</p>
  
  <p>Do you know such a stylesheet/xslt? Or would you suggest another way to achieve this? </p>
  
  <p>I'm using C#.</p>
  
  <p>PS: I tried to use the XmlNotepad.DefaultSS.xslt from Microsoft's XmlNotepad, but I couldn't really get that working. :T</p>