Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What can I do with my XML documentation? [closed]

I just discover I can generate XML documentation for my project with VisualStudio 2010 with the '///' tags in the code.. It's seems magical but what can I do with that? Is some application exists who can make me a "beautiful doc" with the XML file? Or convert it into a HTML doc?

Thanks a lot for all responses!

like image 668
bAN Avatar asked Nov 29 '10 14:11

bAN


People also ask

How do you close an XML file?

Once you have finished adding data to an XML document, you need to close it. close(); The close method of the XMLDocument class takes no parameters.

What is the use of document in XML?

An XML document is a basic unit of XML information composed of elements and other markup in an orderly package. An XML document can contains wide variety of data. For example, database of numbers, numbers representing molecular structure or a mathematical equation.

What is XML documentation in C#?

The C# compiler combines the structure of the C# code with the text of the comments into a single XML document. The C# compiler verifies that the comments match the API signatures for relevant tags. Tools that process the XML documentation files can define XML elements and attributes specific to those tools.

What is the proper commenting method for XML?

To insert XML comments for a code element Type /// in C#, or ''' in Visual Basic.


2 Answers

There are several apps out there that can take your XML Comments and generate MSDN Style API docs for you (working on the list):

Sandcastle (Microsoft)
NDoc
Live Documenter

like image 75
Justin Niessner Avatar answered Oct 02 '22 13:10

Justin Niessner


There's an alternative tool DocFX developed by Microsoft.

It generates API doc in HTML format like this.

like image 22
starshine wang Avatar answered Oct 02 '22 13:10

starshine wang