Definition of code contents

evermanm at tsainc.com evermanm at tsainc.com
Mon Jan 31 22:15:11 GMT 2000


XML is advertised as a way to define (or "mark up") your data to form 
meaningful documents or messages.  While the DTD or XML schemas work well 
to define the marking (or tagging) of data, it seems they to do little to 
define what the content of the data means.

For example, the data between a <NAME> start tag and a </NAME> end tag is 
presumed to be a character string containing a name.  The data between an 
<AMOUNT> start tag and an </AMOUNT> end tag is probably a string of 
numeric characters representing an amount.  However, what does the data 
between a <MARITALSTATUS> start tag and an </MARITALSTATUS> end tag mean. 
It can be assumed that the data indicates something about the person's 
marital status but what do the codes used in the data mean?  Maybe 0 means 
"single", 1 means "married", 2 means "divorced", etc.

How can the codes that are used in such cases be indicated in the DTD or 
schema?

Mark Everman
Lead System Engineer
ACI Worldwide, Inc.
(402)390-7756


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ or CD-ROM/ISBN 981-02-3594-1
Please note: New list subscriptions and unsubscriptions
are  now ***CLOSED*** in preparation for list transfer to OASIS.





More information about the Xml-dev mailing list