Hi,

I'm trying to use the XML Schema API
(http://xml.apache.org/xerces2-j/javadocs/xs/index.html)
to parse a simple schema manually. The QueryXS.java sample from xerces 2.6
works fine so far
and it prints out the global element declarations, but i can't figure out
how to get the
child elements of one of the global elements.

My schema:
        <xs:element name="myroot">
                <xs:complexType mixed="true">
                        <xs:all>
                                <xs:element name="child1"/>
                                <xs:element name="child2"/>
                                <xs:element name="child3"/>
                        </xs:all>
                </xs:complexType>
        </xs:element>

thanks in advance

kind regards
Jens Maukisch
------------------------------------------------------------------------
s&n AG - netBank solutions
Klingenderstr. 5    <mailto:[EMAIL PROTECTED]>
D-33100 Paderborn   http://www.s-und-n.de
------------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to