What is the meaning of xs:mixed without elements?

前端 未结 3 1353
盖世英雄少女心
盖世英雄少女心 2021-01-21 12:57

I got the following XSD bit from a customer. It is part of a legacy schema that spans over dozens of files.


  

        
3条回答
  •  猫巷女王i
    2021-01-21 13:21

    It means that you have an element named stateProvinceName that has one or more attributes (as defined by xml:attlist.global-attributes) whose content is a string. As is, it's no different from the structure that you recommended.

    Their potential difference, however, is their extensibility, as @Michael Kay noted.

提交回复
热议问题