hi all, i am a bit confused,can anybody tell me the diff between include and import in xml schemas. what role does it play,does it play any role with the performance. which to use,where and when? i read that once we include we can use the definitions and declarations from the included schema in our new schema. i think that import also does the same thing. then y two different tags. plz reply asap. thanx in advance.
Hi, The include element allows you to access components in other schemas All the schemas you include must have the same namespace as your schema (i.e., the schema that is doing the include)The net effect of include is as though you had typed all the definitions directly into the containing schema. The import element allows you to access elements and types in a different namespace. To know more abt this please refer the a schema tutorial in powerpoint format,i downloaded it from internet,forgot the link,please search in javaranch to get the link, to be honest i pasted the above line from that tutorial only for you.