[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Documenting DTD's

  • From: "Betty L. Harvey" <harvey@e...>
  • To: Bob Wait <BWait@a...>
  • Date: Thu, 14 Jun 2001 15:50:45 -0400 (EDT)

documenting dtd

Bob:

	You have hit on an age-long problem with DTDs.  DTDs
are usually always evolving and the documentation has to 
evolve with it.  Often the documentation is out of sync.

	Comments inside a DTD are always good.  If you can
document the DTD in a standard way, you can do some autogeneration
of the documentation.  You can use you favorite scripting language.

	I have developed my own DTD for documenting DTD's and
this really helps me in the organization and development of
the documentation.  Some of the tools that I find invaluable
are:

Earl Hood's DTD to HTML - This is Perl Script developed for SGML
     DTD's but works with XML.
Opentext's (nee Microstar's) Near and Far Designer - This gives
     a very nice graphical representation of the DTD and hierarchy.
Extensibility - Also gives a graphical representation.  I prefer
     Near and Far though because I found that it is a better parser.

The nice thing about doing the documentation in XML is that you
can transform it to whatever format is necessary for publication.
Also, depending on your requirements it is also easy to manipulate
the documentation.

Hope this helps and good luck.

Betty

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Betty Harvey                         | Phone: 410-787-9200 FAX: 9830 
Electronic Commerce Connection, Inc. |        
harvey@e...                    | Washington,DC SGML/XML Users Grp
URL:  http://www.eccnet.com          | http://www.eccnet.com/xmlug/
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/  
 

On Thu, 14 Jun 2001, Bob Wait wrote:

> I just spent a half hour listening to our docs/help person complain about
> the uselessness of generating documents containing english language
> descriptions of elements defined in DTDs.  As soon as she writes the stuff
> it's obsolete or vague, and why should she be a middlewoman adding little
> additional real value between the DTD writer and the DTD consumer, etc.
> 
> So, two questions for the list: a) is there a javadoc-like standard for
> adding comments to DTDs and a set of tools out there for extracting them
> and, better, b) is there a tool out there that will read a DTD and produce a
> decent picture of the elements and their relationships?  I'm sure there must
> be something out there we could leverage before we roll our own...
> 
> b
> 
> PS And of course I'm interested in anyone's experience/thoughts on
> generating and maintaining useful documentation for DTDs.
> 
> 
> 
> 
> 
> 
> ------------------------------------------------------------------
> The xml-dev list is sponsored by XML.org, an initiative of OASIS
> <http://www.oasis-open.org>
> 
> The list archives are at http://lists.xml.org/archives/xml-dev/
> 
> To unsubscribe from this elist send a message with the single word
> "unsubscribe" in the body to: xml-dev-request@l...
> 

-- 



PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.