OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   RE: XML as a programming tool

[ Lists Home | Date Index | Thread Index ]
  • From: Sean Mc Grath <digitome@iol.ie>
  • To: xml-dev@ic.ac.uk
  • Date: Fri, 19 Dec 1997 18:40:18 GMT

The concept of a DTD has a resonance with data driven programming such as
JSP Jackson Structured Programming and JSD - Jackson System Design.

I have on occasion used DTDs to document time ordered interfaces to objects. It
can be a very powerful technique!

Take a really simple object interface - an object with open,close,read,write
These have a time ordering which is not captured in this:
        int open();
        int close();
        int read();
        int write();

Compare this:-

<!element interface (open,(read|write)*,close)>
Sean Mc Grath
sean at digitome dot com

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


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS