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

DDML Documentation Capabilities

  • From: <david@m...>
  • To: "XML Developers' List" <xml-dev@i...>
  • Date: Fri, 22 Jan 1999 21:51:03 -0500

ddml
First, congratulations to everyone on the publication of DDML as a W3C 
NOTE.

I've started reading through DDML (I looked at XSchema early on, but
haven't had time to follow the work), and I'd like to comment not on
the schema part, but on the documentation part.

I think that the DDML:Doc element, while useful, is insufficient for
documentation.  There is a certain structural hierarchy of
documentation that DTD designers and documentation people almost
invariably end up using:

1. The element type name
2. A full title
3. A short description
4. A long description

For example:

1. a
2. Anchor
3. The start and/or end point of a hyperlink.
4. The HTML <a> element allows users to... [blah blah blah]

DDML covers (1) with the 'Name' attribute, and (4) with the DDML:Doc
element, but it completely misses capturing the structure of (2) and
(3) in any standard way.  What we need to do is something like this:

<ElementDef Name="doc">
<Title>Document</Title>
<Desc>The root element of a document.</Desc>
<DDML:Doc>....</DDML:Doc>
<Model>
<Seq>
<Ref Element="front"/>
<Ref Element="body"/>
</Seq>
</Model>
</ElementDef>

You might even want to get fancy and allow <Title>, <Desc>, and
<DDML:Doc> to be repeated with different values for xml:lang.
Obviously, the information for (2) and (3) can be included in
<DDML:Doc>, but since it has no standard structure, it is difficult to
automatically generate menus, help-files, etc. for DTDs from a DDML
description.


All the best,


David

-- 
David Megginson                 david@m...
           http://www.megginson.com/

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


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.