Can I have one XML Schema (XSD) include another XML-Schema?

前端 未结 2 493
轮回少年
轮回少年 2020-12-14 06:08

I currently have two XSD schemes and one is a \"light\" version of the other. Right now I have everything in the \"light\" version repeated in the \"complete\" schema, but t

2条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-14 07:02

    There are two methods for this.

    should be used for including files of the same namespace.

    should be used for include files in a different namespace. Usually you will specify the namespace given as the targetNamespace of the imported schema.

提交回复
热议问题