get type restriction in xerces

I am using xerces to get simple type restriction. For example, for this
part of schema,

<xsd:simpleType name="Year">
    <xsd:restriction base="xsd:integer"/>
</xsd:simpleType>

I can get the type definition "Year", however, how can I get the
restriction "integer" in xerces? Thanks.


Lingzhi

Received on Wednesday, 19 February 2003 18:03:45 UTC