xsd:include 和 xsd:import 有什么区别? [英] What's the difference between xsd:include and xsd:import?

查看:26
本文介绍了xsd:include 和 xsd:import 有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

xsd:includexsd:import 有什么区别?您什么时候会使用其中一个而不是另一个,什么时候可能无关紧要?

What's the difference between xsd:include and xsd:import? When would you use one instead of the other, and when might it not matter?

推荐答案

includeimport的根本区别在于必须使用import 引用 不同 目标命名空间中的声明或定义,并且您必须使用 include 引用已(或将要)在 中的声明或定义>相同目标命名空间.

The fundamental difference between include and import is that you must use import to refer to declarations or definitions that are in a different target namespace and you must use include to refer to declarations or definitions that are (or will be) in the same target namespace.

来源:https://web.archive.org/web/20070804031046/http://xsd.stylusstudio.com/2002Jun/post08016.htm

这篇关于xsd:include 和 xsd:import 有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆