Mega Code Archive

 
Categories / XML Tutorial / XML Schema
 

Creating a Schema from Multiple Documents

The < import> declaration is used  for combining XML Schemas that have different targetNamespaces.  The <import> declaration allows you to refer to declarations only within other XML Schemas.  The <import> declaration is always declared globally within an XML Schema. The <import> declaration must be a direct child of the <schema> element.  The <import> declaration applies to the entire XML Schema.  <import namespace="" schemaLocation="">