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

key value pair mapping in XSLT by dynamically

Accepted answer
edited Dec 6, 2018 6:04PM in Integration 4 comments


key value pair mapping in XSLT by dynamically


Hi Everyone,

I have requirement where i can map key value pair mapping dynamically from a template.

For instance : Below JSON request has key value pair in a one template.

{"params": [ {"name":"courseDesc" , "value" : "English 101"}, {"name":"grade" , "value" : "101"}, {"name":"studentStatus" , "value" : "failing"}, {"name":"paymentDetail" , "value" : "Success"} ] }

Generally by using XSLT in ICS we can generate response like below.

    "courseDesc": "English 101",
    "grade": "101",
    "studentStatus": "failing",
    "paymentDetail": "Success"

However i have some what tricky requirement where multiple templates in which key value pairs are different.

I want to write an XSLT mapping logic where it has to fetch key values from each template and transform it to below format.

Howdy, Stranger!

Log In

To view full details, sign in.


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