[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: DTD fixed attributes
- From: Richard Tobin <richard@cogsci.ed.ac.uk>
- To: xml-dev@lists.xml.org
- 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