Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
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

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!