cancel
Showing results for 
Search instead for 
Did you mean: 

Create data type for given XML

former_member196519
Participant
0 Kudos

Hi Expert,

I have below xml file structure. Here I see that “input name” is repeating every time then how can I create data type for this xml as in Data type we cannot repeat element. During the activation it asks to remove duplicate record.

- <Planning>

    - <User UserID="" FirstName="XYZ" LastName="Margaret" MI="">

         - <Form>

              <input name="txtPostitionId" value="1234" />

             <input name="txtApplicantId" value="234567" />

              <input name="txtEffectiveStartDate" value="10/01/2013" />

              <input name="txtDateOfBirth" value="10/01/1975" />

              <input name="txtEEOGender" value="Female" />

Thanks for your support!

Kumar

Accepted Solutions (1)

Accepted Solutions (1)

rajasekhar_reddy14
Active Contributor
0 Kudos

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Kumar,

Input xml always should match to input xsd(Input structure/Input Data type).

>>how can I create data type for this xml as in Data type we cannot repeat element.

You should create data type as above said in order to be in sync with input xml.

Regards

Venkat

rajasekhar_reddy14
Active Contributor
0 Kudos

Hi Kumar,

Use ID, FirstName and Last name are attributes to User.

Input Name and Value are attribute to Form

So create accordingly.

Thank you,

Raj