Lists Home |
Date Index |
- From: "Tiago Moitinho de Almeida" <email@example.com>
- To: "XML Dev" <firstname.lastname@example.org>
- Date: Thu, 18 Feb 1999 17:13:29 -0000
I am developing an application for editing and validating formal metadata
documents, which is XML-based.
The metadata documents follow a structure which is represented by a DTD.
The application is DTD-deriven. It should work with any valid DTD, so it does
not depend on a specific DTD.
Two important issues about the validation are:
- data type checking (ex: the content of <date> tags should have a valid date
- validity domains (ex: for the content of <primary_colour> I should only
accept "blue", "red" or "green").
As far as I undertand, XML-Data provides solution for the 1st issue, and I can
work arround it in a DTD using a #FIXED attribute for those element
However, I donīt see how XML-data or XML DTD provide information to meet the 2nd
2 questions about XML DTD's and XML-Data:
- Can I use DTD to do everything that XML-Data does?
- Using XML-Data, can I somehow get rid of XML DTD's?
Tiago Moitinho, Lisbon, Portugal
xml-dev: A list for W3C XML Developers. To post, mailto:email@example.com
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:firstname.lastname@example.org the following message;
To subscribe to the digests, mailto:email@example.com the following message;
List coordinator, Henry Rzepa (mailto:firstname.lastname@example.org)