Can we control the single element using two, three xsd.
<html>
<head>
<title> </title>
</head>
<body>
</body>
</html>
I have an xsd to control the above structure.
<xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="html" type="Root" />
<xs:complexType name="Root">
<xs:sequence>
<xs:element name="head"/>
<xs:element name="body" type="xs:string" minOccurs="1"/>
</xs:sequence>
</xs:complexType>
I can call this as base xsd. I am creating another two xsd to control body element attribute values and allow one project1 element in the body, and in another xsd I want to project2 new element within body using base included base.xsd. How this can be done? Is this achievable?