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

  • From: David Carlisle <davidc@n...>
  • To: Samuel.Caro@U...
  • Date: Tue, 09 Oct 2001 09:03:18 +0100


> Am I at least on the right track with enumerated attribute types?

Perhaps, perhaps not.

If you want to use enumerated types then the values have to follow
the same rules as for element names (so no white space).

So maybe you can change the set of allowed values. Otherwise just
declare the attribute to be CDATA, and move any checking of the
allowed values into your application rather than the XML parse.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

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