You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

how to map element for given attribute in OIC mapper

Accepted answer
1
Views
2
Comments
edited Nov 1, 2021 11:06PM in Integration 2 comments

Summary:

is there simple way to map XML element for given attribute value without using XSLT

Content (required):

for example payload has following structure:

<ResultSet>

                 <Row>

                    <Field name="id">123</Field>

                    <Field name="title">abc</Field>

                 </Row>

                 <Row>

                    <Field name="id">140</Field>

                    <Field name="title">xyz</Field>

                 </Row>

              </ResultSet>

need to assign value of only element with attribute "id"

Version (include the version you are using, if applicable):


Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!