on 10-30-2014 5:06 AM
Hello Experts,
Do any one know that how to get the name of the XML element in the incoming payload to PI so that can be passed to output.
I have an incoming XML like below.
<Records>
<Name>
<ID>1</ID>
</Name>
<Records>
I am generating an output where I need to get the exact name of the field which came inside </Name>. In above example it is ID but that may not be same all the time.
Appreciate your help!!
Thanks,
Arijit
Hi Arjiit,
May be you can try with returnAsXML on <Name> node from it's context menu and then use normal java string api in a UDF to identify the field name within <Name> node and return it for target
//BR,
Praveen Gujjeti
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Arijit,
You can use an XSL with the instruction copy-of-select.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.