Home   Cover Cover Cover Cover

XML Documentation Comment Viewer

The stylesheet doc.xsl implements a viewer for XML documentation comments in C#. It was written by Anders Hejlsberg. Just add the following line as the second line to the XML file produced by the C# compiler:

  <?xml:stylesheet href="doc.xsl" type="text/xsl"?>

and open the XML file in a web browser.

  doc.xsl (select "Save Target As" and chose doc.xsl as the name)