Complete XML Schema:
<xs:schema>
<xs:element name="Root">
<xs:element name="Element0" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="Element1" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="Element2" type="xs:string" minOccurs="0" maxOccurs="1"/>
</xs:element>
</xs:schema>
Subset Sample XML:
<Root>
<Element1>Sample Text</Element1>
</Root>
How can i validate the sample XML against the provided schema?