Page 1 of 1

Create XML

Posted: Tue Apr 06, 2021 12:55 pm
by ivan.ulens@vcst.be
I try to create a SEPA XML-File. Everything goes fine except 1 item:
<?xml version="1.0" encoding="utf-8"?><Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.001.001.03" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CstmrCdtTrfInitn xmlns="">
<GrpHdr>
...
</GrpHdr>
...
</CstmrCdtTrfInitn>
</Document>

The 'xmlns=' on the second line is wrong. This must without attributes. In Script there aren't attributes.

Re: Create XML

Posted: Tue Apr 06, 2021 2:01 pm
by Oleg
XML actions use system XML engine to build and analyze XML
It seems the XML engine adds this attribute when you add child node

We'll investigate the problem how to avoid this

Re: Create XML

Posted: Wed Apr 07, 2021 1:18 pm
by Oleg
Already fixed.
Dowload and install fresh copy

xmlns is not a simple attribute of node. This is token of Name Space of the node
Therefore, it requires more careful handling...

Let me know about results

Re: Create XML

Posted: Wed Apr 07, 2021 1:50 pm
by ivan.ulens@vcst.be
Oleg,
it looks great!
I have some questions about the policy of the software. Is it 'ok' for you if I communicate this in a mail?
regards,
Ivan

Re: Create XML

Posted: Wed Apr 07, 2021 2:09 pm
by Oleg
Is it 'ok' for you if I communicate this in a mail?
No problem