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?
From stackoverflow
-
I'm interested in this as well. The only explanation I've found is that
xsd:include
is used for intra-namespace inclusions, whilexsd:import
is for inter-namespace inclusion. -
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.
Source: http://xsd.stylusstudio.com/2002Jun/post08016.htm
Lord Torgamus : I found these explanations helpful as well: http://xsd.stylusstudio.com/2005Mar/post05007.htm http://msdn.microsoft.com/en-us/library/ms256480.aspx
0 comments:
Post a Comment