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

  • From: Richard Tobin <richard@c...>
  • To: xml-dev@l...
  • Date: Thu, 24 May 2001 12:02:11 +0100 (BST)

> If I use a DTD to give an attribute a #FIXED value, does that mean:

#FIXED means that if you give a value for the attribute, it must be
the same as the default.

> how would I get the semantics of having "false"
> as a default value and "true" (or "true | "false") being the only
> allowed value(s) in the instance?

  <!ATTLIST foo bar (true | false) "false">

-- Richard


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