How to read XSD file
Hi all,
I want to read XML Schema (XSD) files in my application. But dont know any API for this.
For ex:
<xs:schema xmlns:sswfm="http://www.sumasoft.com/XMLSchema/WFM" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.sumasoft.com/XMLSchema/WFM" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:element name="Bounds" type="sswfm:BoundsType"/>
<xs:complexType name="BoundsType">
<xs:sequence>
<xs:element name="PositionX" type="xs:integer" default="0"/>
<xs:element name="PositionY" type="xs:integer" default="0"/>
<xs:element name="Width" type="xs:integer" default="20"/>
<xs:element name="Height" type="xs:integer" default="10"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
in this XSD i need to read all the elements like this-
PositionX - 0
PositionY - 0
Width- 20
Height- 10
My XSD is much more complex than this. It may contains Enumerations, minlength, maxLength.
How can i read like this?
Any help is appreciable.

