on 2019 Jun 06 3:46 PM
Dear All,
I have a requirement of concatenating same node fields as given below,
Request Structure:
<Batch_Request>
<Batch>1</Batch>
<Batch>2</Batch>
<Batch>3</Batch>
</Batch_Request>
Excepted output: 1, 2, 3
but we are getting as: 123,
Can this be achieved in XPath expression.
Thank you.,!
Request clarification before answering.
Try the below XPATH , this worked for me :
string-join((//Batch_Request/Batch/text()),',')
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Manoj,
We are trying this in CPI, at Content Modifier in Exchange properties to combine same node values using comma separator.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
59 | |
10 | |
8 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.