Ever since I started using C# I've missed two things from Java; checked exceptions and Javadoc. Checked exceptions doesn't look like it's showing up any time soon but it looks like I may get the other after all. C# has an XML comments syntax that is similar to Javadoc comments and can be extracted into a single document but there was no way simple to convert it to HTML that I knew of because XSLT (my tool of choice for processing XML documents) couldn't generate mutliple HTML files which I'd need for producing something like Javadoc output.

Thanks to Oleg this is no longer the case. Come to think of it the article already has an implementation of something similar to Javadoc for the C# XML format but uses the MSDN formatting style instead of the Javadoc one. Sweet.

 

Categories: