data types

Hi
    I have schema like this:
<xs:element name="date">
<xs:complexType>
<xs:element name= "year" type="xs:integer"/>
....................
..................
</xs:complexType
</xs:emement>

Now I have xml file like this.
<date>
<year>2000</year>
<month>12</date>
.......
</date>

Now, I am parsing xml file using DOM. How can I get the data type for year,
month etc?????

Any help will be greatly appreciated!!

Thanks
Bhaskar



Yours sincerely,
Bhaskar Yallala
DirectAdvice Inc,
64, Pratt St,
Hartford, CT-06103.
Voice: 860-418-5418.
Fax: 860-560-0157
E-mail: b_yallala@directadvice.com
Build Richer Relationships
www.directadvice.com

Received on Tuesday, 9 July 2002 09:46:56 UTC