Question: XML as data-tranfer tool - metadata in DTD

Subject: Question: XML as data-tranfer tool - metadata in DTD
From: "Guy K. Haas" <ghaas -at- selectica -dot- com>
To: TECHWR-L <techwr-l -at- lists -dot- raycomm -dot- com>
Date: Fri, 31 Mar 2000 11:04:32 -0800

I am documenting an API that returns data structures in XML.

My (and my developer's) problem is that, although we see how
pre-determined elements are specified in the DTD (Document Type
Definition), we need to describe elements that are determined by a user.

Example: In the DTD snippet

<!ELEMENT books (title,authors)>
<!ELEMENT title(#PCDATA)>
<!ELEMENT authors(#PCDATA)>

_books_ are composed of one _title_ element and one _authors_ element.
What if the user is able to create another element of a book, such as
_publisher_?

How can we describe the DTD when some elements are hard-wired by the
software manufacturer and some are added on the fly by the software
user?

TIA,

Guy K. Haas
Senior Technical Writer / Software Exegete
Selectica, Inc.
E-Mail: ghaas -at- selectica -dot- com




Previous by Author: Andrew Plato pontificates on STC
Next by Author: Re: Question: XML as data-tranfer tool - metadata in DTD
Previous by Thread: Re: Browser capabilities? Stick to the standards.
Next by Thread: Re: Question: XML as data-tranfer tool - metadata in DTD


What this post helpful? Share it with friends and colleagues:


Sponsored Ads