As we all know that include and import elements in a xsd is used to reference schema components from another schema,
In this post I will explore the difference between them and when to use what with simple examples and how we can use the same in BizTalk Server.
Include element - include refers to declarations or definitions that are from same namespace or a no target namespace.
In this post I will explore the difference between them and when to use what with simple examples and how we can use the same in BizTalk Server.
Include element - include refers to declarations or definitions that are from same namespace or a no target namespace.
That is if the Schema being added also contains elements with same
namespace then we can directly include it.
XSD Include means Importing types from another schema within the SAME
namespace
When we are referring to the declarations or definitions from the same
namespaces then we use Include element.
Import element - import refers to declarations or definitions that are from a
different target namespace.
The import element is used to add multiple schema's
with different target namespace to a document.
XSD Import means Importing types from another schema/namespace
When we are referring to the declarations or definitions from different
namespaces then we use Import element.

