• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 374
  • Last Modified:

Convert XML documentation to HTML pages

I'm using Visual Basic .NET 2005 and been commenting my code with the XML tag formatting.  When I build my code I noticed that the compiler generates documentation for it in the form of an XML file.  How can I convert that XML file to a readable format like a HTML web page.  I've used doxygen for C++ code and it works great.  I would like to generate similar documenting with VB.NET.

I couldn't find the option in visual studio.  Am I missing something?
1 Solution
I dont think there is a direct method. Usually doing using XSLT.

Here is link which explain you how to convert to HTML.


Yeas as such there is no internal tool avialbale to document it but there are external tools available. I suggest you to please visit following link

Hi neelbak,

Try NDoc Code Documentation Generator for .NET -

From the description: "NDoc generates class library documentation from .NET assemblies and the XML documentation files generated by the C# compiler (or with an add-on tool for VB.NET)", available from http://ndoc.sourceforge.net/.

A couple of other related resources:

"Title: transforming xml to html for n number of xml files in a file directory using vb.net"

"How Do I...Apply an XSL Transformation to XML?"

Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

Another useful item:


I translated the source using Instant VB and it worked very well.
neelbakAuthor Commented:
I'm still trying out everyone's suggestions to see which best meet my needs.

However, my requirements are:
1) Works with VB.NET 2005 code
2) Creates call graphs and a html pages (entire site not just one long doc)

I've heard of ndoc but that does not seem to work for VB.NET 2005.

Please let me know if anyone has any other suggestions.  Thanks!
Hi neelbak,

After the holidays I'll take a further look into it and see what I can find.  Unfortunately nothing immediately comes to mind other than what I posted, except for ProjectAnalyzer (http://www.aivosto.com/project/project.html), which generates documentation for Visual Basic projects (as well as checks for dead code, performs optimizations, etc.), but the going price for the software is $990 for the Enterprise version which, in my opinion, is the best...

From their web site:

"Document your projects. Generate comprehensive documentation with reports such as procedure list, control list, project dictionary, module diagrams. Std, Pro, Ent Create code manuals and source code web sites."

Oops, this one also ($299), but I'm not sure how good it is (10 day trial available):

Help Generator for Visual Studio 2005

Overview: Help Generator for Visual Studio 2005 creates HTML Help, web-based help and documentation for your applications in seconds. Features HTML page and image generation, table of contents, index and search, images with hotspots. The wizard lets you set many options for page layout and application specific information. Includes WYSIWYG help editor.


Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now