XSD schema with unordered required, optional and arbitrary tags

后端 未结 1 1169
猫巷女王i
猫巷女王i 2021-01-21 00:56

I am trying to come up with a XSD 1.0 schema with the following constraints:

  1. There is no ordering
  2. Some elements must appear exactly once
  3. Some ele
相关标签:
1条回答
  • 2021-01-21 01:11

    You can do what you are looking for using xs:all in XSD 1.1.

    It can't be achieved in XSD 1.0.

    0 讨论(0)
提交回复
热议问题