How to create a generic XSD type

后端 未结 2 1366
抹茶落季
抹茶落季 2021-01-15 00:58

I have a java application where i can map a XSD type to another with same type. Now i have requirement to have one anyType xsd to which i can map any type. Like as we have O

2条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-15 01:35

    You could use the xs:any element - this allows you to have a section of you schema that can contain any arbitrary XML.

提交回复
热议问题