473,416 Members | 1,523 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,416 software developers and data experts.

MSDN like documentation for Xml-files?

I would like to be able to generate documentation for a custom configuration
file (xml) to enable future support engineers to understand applicable
values to the various elements inside the configuration file. (see below for
sample).

Does any program exist (like NDoc) that is able to generate MSDN like
documentation?

<!-- CONFIGURATION SECTION -->
<configurationSection>
<caching>
<!--
Should caching be used by the Configuration system ?
Using caching greatly improves performance
Values:
"false" : Do not use
"true" : Do use
-->
<add key="useCaching" value="true"/>
<!-- Time To Live [Sec.] (when using SQL Storage) -->
<add key="TTL" value="234"/>
</caching>

Thanks!

/Ole
Nov 12 '05 #1
1 2948
"Ole Hanson" <no@spam.com> wrote in message news:eJ**************@TK2MSFTNGP14.phx.gbl...
I would like to be able to generate documentation for a custom configuration
file (xml)
The free-form nature of markup is challenging for a piece of
documentation software to scan it for free-form comments and
associate them with elements and attributes.

: : <caching>
<!--
Should caching be used by the Configuration system ?
Using caching greatly improves performance
Values:
"false" : Do not use
"true" : Do use
-->
<add key="useCaching" value="true"/>


That may appear to be a logical comment to create documentation
from to you, but to documentation software there's no way to make
the association between the boolean values in the comment and that
they belong in the value attribute of the add element (and not in the
key attribute, or as a child text node). Further, since the comment
has arbitrary formatting, it's a feat of natural language processing
just to extract relevant pieces of information to tie to particular
items in the XML Infoset of your document.

Instead of interpreting free-form comments in instance documents,
a better way presented itself to the XML Schema WG and that's
why XML schema support <xs:documentation> tags. These are
nested within the definitions for XML element and attributes so
they directly correlate to these items in the XML Infoset for your
document.

Documenting XML files in a general-purpose manner amenable
to tools support for creating MSDN-style 'man' page requires
this sort of XML schema documentation. A general-purpose
documentation tool can then operate on this input to produce
the help documentation.

XML Spy has documentation-generation support (although not
specifically to the MSDN look-and-feel) that works this way.
If there is an NDoc documenter for XML documentation, it'll
probably also operate on <xs:documentation> tags.
Derek Harmon
Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Simon John | last post by:
I'm sure this must be a PEP, but could someone look at the PyXML documentation? I'm trying to evaluate XML on Python (to eventually use it with XML-RPC) as apposed to Perl. The problem is, I...
12
by: Fredrik Olsson | last post by:
Hello. For Java there is javadac, for Obj-C headerdoc2html, for C doxygen, and even for good old VB 6 there is VBDox. But I have found no suitable tool for documenting my .net code to get...
5
by: AA | last post by:
Hello, I was commented my class and copile it, when the compilation finished th VS create the XML document It is cool because I can use to generate MSHelp documentation but, when I import my...
1
by: Burkhard Perkens-Golomb | last post by:
Hi, I've a question about XML documentation of overridding methods and methods implementing an interface declaration: These methods are normally documented in the base class or interface. So I...
5
by: Bob Rundle | last post by:
I've been looking at the XML documentation for C# code. I've put in a number of <summary>, <remarks>, <param> tags and used the /doc switch to create an XML file. What now? I was expecting...
11
by: David Pradier | last post by:
Hi ! I've just inherited the responsibility of a postgresql database of roughly 480 tables and 6460 columns, mainly without constraints, not even foreign keys. I'd like to make it a little...
4
by: Mark R. Dawson | last post by:
Hi all, does anyone know of any tools which can be used with .Net 2.0 to create XML documentation. There used to be a tool in VS2003 which would do this, but it is not in 2005 and I also used to...
0
by: bill | last post by:
I'm using VS2005 VB.net. I want to use the automatic XML documentation feature which creates documentation for comments with the triple comment symbol (''') marker. It works fine except in web...
12
by: J Ames | last post by:
My team has recently been moved into the Microsoft space from the Java space. For the most part we are really enjoying the VS.NET 2005 environment, and have had little problem picking up C# (and...
2
by: bthubbard | last post by:
This may not be the best group in which to post this. If there is a better location please direct me there. I have been experimenting with Sandcastle to generate CHM help file documentation for...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.