开发者

Enumeration of a complex type

开发者 https://www.devze.com 2022-12-24 20:34 出处:网络
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

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

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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号