Take the 2-minute tour ×

How can I make an enumeration of a complex type?

For example, I want to store the following data into a xsd enumeration called Measurings

  • description
  • tag
  • item


tag fileName

each one of these attributes has an specific value and this set makes one registry in my ennumeration. But the problem is that as far as I know, it's allowed just the "value" attribute in an enumeration.

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

There is nothing like complex type enumeration in XML Schema. You'll need to organize it externally. See

http://schemas.opengis.net/gml/3.1.1/base/dictionary.xsd http://schemas.opengis.net/definitions/axisDirection.xml

for an implementation example.

share|improve this answer
The first link didn't worked –  marionmaiden Mar 30 '10 at 17:25
Sorry. I've corrected the link. –  lexicore Mar 30 '10 at 18:34
add comment

Your Answer


