Hello all,
I want to read the following file through java....
Anyone who knows plz help me ...
The file is
-
<?xml version="1.0" encoding="UTF-8"?>
-
<xs:schema xmlns="http://ContextML/1.6c" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://ContextML/1.6c" elementFormDefault="qualified" attributeFormDefault="unqualified">
-
<xs:simpleType name="Temperature">
-
<xs:annotation>
-
<xs:documentation>Value of Temperature</xs:documentation>
-
</xs:annotation>
-
<xs:restriction base="xs:string">
-
<xs:enumeration value="OK"/>
-
<xs:enumeration value="ERROR"/>
-
<xs:enumeration value="WARN"/>
-
<xs:enumeration value="TRUE"/>
-
<xs:enumeration value="FALSE"/>
-
</xs:restriction>
-
</xs:simpleType>
-
<xs:simpleType name="Your Id">
-
<xs:annotation>
-
<xs:documentation>Value available for a Your Id</xs:documentation>
-
</xs:annotation>
-
<xs:restriction base="xs:string">
-
<xs:enumeration value="id"/>
-
<xs:enumeration value="url"/>
-
</xs:restriction>
-
</xs:simpleType>
-
<xs:element name="Parameters">
-
<xs:annotation>
-
<xs:documentation>Parameter</xs:documentation>
-
</xs:annotation>
-
<xs:complexType>
-
<xs:simpleContent>
-
<xs:extension base="xs:string">
-
<xs:attribute name="n" type="xs:string" use="required"/>
-
</xs:extension>
-
</xs:simpleContent>
-
</xs:complexType>
-
</xs:element>