W3C home > Mailing lists > Public > xmlschema-dev@w3.org > July 2002

data types

From: Yallala, Bhaskar <B_Yallala@DirectAdvice.com>
Date: Tue, 9 Jul 2002 09:46:19 -0400
Message-ID: <4AE579E553F1D511842F009027DE08D51319F3@MAIL1>
To: "Xmlschema-Dev (E-mail)" <xmlschema-dev@w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:32 GMT