I have to create a sample program to demonstrate the validation for the XML and XSD.
XSD file is given:--
XML file is not created.Can anyone help me to build a complete program using below mentioned XSD file.

account_data.xsd

<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- edited with XMLSPY v2004 rel. 2 U (XML Editor, Data Management, UML, and Web Services Tools from Altova) by . (.) -->
<xs:schema targetNamespace="http://managers.wanadoo.es/bindingv2" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:cim="http://managers.wanadoo.es/bindingv2" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.5">
<xs:complexType name="AccountIdType">
<xs:all>
<xs:element name="Login" type="xs:string">
<xs:annotation>
<xs:documentation>User identifier common to all the provisioning sistems</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Password" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>User password common to all the provisioning sistems</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Realm" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Connection realm. Valid values are wanadoo (for Dialup) and wanadooadsl (for Broadband)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Domain" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Client organization. Usually will be wanadoo.es</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="IdColon" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Unique identifier of the user in the wanadoo's authentication system called Colon</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ReservationTicket" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Identifier given by Colon system while login is reserved but not still assigned to this user</xs:documentation>
</xs:annotation>
</xs:element>
</xs:all>
</xs:complexType>
</xs:schema>