Title: XML Attributes
thanks Leif. We have a DTD, and I have read the book a zillion times but have never seen reference to such syntax. And I've hunted through just about every site offering DTD tutorials. This must be a standard they introduced last week. Now hunting around looking for reference material.This stuff is so mickey-mouse. So what happenns if the field is alphanumeric? How do you code for a range of special characters? do you have to know the ASCII collating sequence? The problem with the PC world is that of shifting standards. Going through this exercise makes me feel guilty about taking 5250 for granted. 
Thanks again. 
-----Original Message-----
From: Leif Svalgaard [mailto:leif@leif.org]
Sent: Friday, 17 November 2000 12:29
To: MIDRANGE-L@midrange.com
Subject: Re: XML Attributes

s there some mysterious way that XML allows the developer to define some more sophisticated attributes than just a string of indeterminate length? (as long as it's between two "well-formed" tags?

===> to be a valid XML document you must include a DTD. Within the DTD you can
define elements to be just as you like them: e.g.:   NUM3:= [0-9][0-9][0-9]
to indicate an element consisting of exactly 3 valid digits.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].