Hi Experts,
I am not able to convert the below xml through XML-CSV Converter , while simulation nothing is populating in message body and also not able to capture field value via Xpath in Content Modifier
Source XML
<?xml version="1.0" encoding="utf-8"?>
<MT_CO_SendConfirmation xmlns="http://YBS.com/CO/SendConfirmation">
<Records>
<ID>765432</ID>
<Date>17-08-2022<Date>
<Amount>250000</Amount>
<InvoiceNumber>EINV001</InvoiceNumber>
</Records>
</MT_CO_SendConfirmation>
Converter

Namespace Mapping:

Request clarification before answering.
Hello Arvik,
Please write a XSLT and remove the namespace or you need to have proper namespace in both runtime configuration( remove double quotes ) and Input XML ( like xmlns:K0="http://YBS.com/CO/SendConfirmation" ).
Also with respect your data please add closing tag for Date element and then whole setup works.Below setup works
Input XML:
<?xml version="1.0" encoding="utf-8"?>
<MT_CO_SendConfirmation xmlns:KO="http://YBS.com/CO/SendConfirmation">
<Records>
<ID>765432</ID>
<Date>17-08-2022</Date>
<Amount>250000</Amount>
<InvoiceNumber>EINV001</InvoiceNumber>
</Records>
</MT_CO_SendConfirmation>
Converter and Namespace mapping:

Regards,
Sriprasad Shivaram Bhat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Arvik,
it seems like your xml specifies a namespace - this is just my assumption though, because as Aditya already said your posted xml is incomplete.
I recall that a lot of times when we are doing with namespaces, they cause a couple of unpleasant surprises. That is why I would suggest to either try omitting / removing it from the xml itself or adding it as namespace of the Iflow itself.
In our cases the latest proved always as especially useful.
Best regards,
Goran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Arvik,
This xml is not valid, Please provide complete xml.
You can validate your xml online also -https://www.liquid-technologies.com/online-xml-validator
Regards,
Aditya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.