[Home] [By Thread] [By Date] [Recent Entries]

  • From: Bob Kline <bkline@r...>
  • To: Chris Adamantidis <chris.adamantidis@b...>
  • Date: Mon, 10 Jul 2000 11:14:12 -0400 (EDT)

On Mon, 10 Jul 2000, Chris Adamantidis wrote:

> I'm having a problem in defining a range of values which are
> acceptable in a DTD.  For instance, I want a value to be acceptable
> if it's between 1 and 65535 (unsigned 16 bit integer) I tried
> [1-65535] but that's not it.  Anyone have any ideas?

You can't do that with a DTD, which is one of the reasons XML-Schema [1]
was developed.

[1] http://www.w3.org/TR/xmlschema-0/

-- 
Bob Kline
mailto:bkline@r...
http://www.rksystems.com



***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member