I want to split a xml schema in two xml schema files where the first file has general schemas and the other part has specific schemas. The general schema can the be used by other schemas (written in other files) which uses the same elements. Is this possible to do?
It's most certainly possible if the two schemas define the contents for two different namespaces.
It's a bit more of an issue if the two (or more) schema files specify the contents of a single namespace. This is because the namespace URI typically is associated with a single file (although the URI does not necessarily resolve to the schema file).
It has been suggested that in this case, the two schema files should be included (using xs:include) into a third schema file with the same namespace. The third schema file then becomes the 'master' file that is intended to be the reference point for the namespace.
HTH (and makes sense!),
Pete.