OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DTD fixed attributes

> 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