XSD File:
<?xml version=”1.0″ encoding=”utf-8″?>
<xs:schema targetNamespace=”<Some String as namespace>” elementFormDefault=”qualified” xmlns:xs=”<some schema defn may be from w3>” >
……………………………
……………………………
</xs:schema>
XML File:
<?xml version=”1.0″ encoding=”utf-8″ ?>
<Rootelement xmlns=”<same targetNamespace as in xsd file>” xmlns:xsi=”<some schema defn may be from w3>” xsi:schemaLocation=”<same targetNamespace as in xsd file><space><xsd file name.xsd>” >
……………..
………………
</Rootelement>