Jump to content

Select child elements whose type's element are complexType ones...


Recommended Posts

Hey, maybe u guys can help me.I have a XSD wich contains different elements.These Elements contain some simpleTypes and some complexTypes. When i select one Element, i would like to display all complexTypes it contains... but how to do this?there is no attribute wich tells me if a item is complex or simple.... so how can i do it? example: <xs:element name="Order"> <xs:element name="Date" type="OurDate"> <xs:element name="Nr" type="OurNummbers"> <xs:element name="Body" type="OrderBody"> </xs:element> ______________________________________________________________ OurDate and OurNummbers are both simpleType Elements Orderbody is a complexType Element But how to detect that????? THANX!!! greets mario

Edited by mbr
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...