0

Possible Duplicate:
DTD element type problem

I have an xml in which i have element facilities.

Internet

Facilities can have at least one or more of the followings: Internet, Gym, Free Parking, Restaurant, Pick-up, Pool, Conference hall, Banquet hall. How can i apply this in dtd and schema

Community
  • 1
  • 1
Abdul Rauf
  • 763
  • 2
  • 8
  • 28

1 Answers1

1

you can certainly do that with the schema, that allows you to restrict values to an enumeration of set values. More information on this Stack question

Community
  • 1
  • 1
Tim
  • 4,217
  • 1
  • 15
  • 21