Jump to content

elzahr

Members
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

0 Neutral

About elzahr

  • Rank
    Newbie
  1. Wow, that's very nice . I will keep it in mind.Thanks!
  2. Ok, thank you all.I've done this, finally: <xsd:element name="DOC_OBL"> <xsd:complexType> <xsd:sequence> <xsd:element name="DOC_OBL_1" type="DocOBLType" minOccurs="1" /> <xsd:element name="DOC_OBL_2" type="DocOBLType" minOccurs="0" /> <xsd:element name="DOC_OBL_3" type="DocOBLType" minOccurs="0" /> <xsd:element name="DOC_OBL_4" type="DocOBLType" minOccurs="0" /> <xsd:element name="DOC_OBL_5" type="DocOBLType" minOccurs="0" /> <xsd:element name="DOC_OBL_6" type="DocOBLType" minOccurs="0" /> <xsd:element name="DOC_OBL_7" type="
  3. I think the solution to my problem is very easy, but i couldn't fint it :)So, here is:I have an XML which have a list of elements with different names, but in sequence. An example: <DOC> <DOC_OBL_1> <TIP_DOC_OBL>1</TIP_DOC_OBL> </DOC_OBL_1> <DOC_OBL_2> <TIP_DOC_OBL>2</TIP_DOC_OBL> </DOC_OBL_2> <DOC_OBL_3> <TIP_DOC_OBL>3</TIP_DOC_OBL> </DOC_OBL_3></DOC> So, i have 3 elements: DOC_OBL_1, DOC_OBL_2 and DOC_OBL_3. And yes, there could be number 4, 5, 6, etc.As you can se, all 3 have the same elements insi
×
×
  • Create New...