Create XML

Discuss RoboTask here
Post Reply
ivan.ulens@vcst.be
Posts: 18
Joined: Mon Oct 28, 2019 12:38 pm

Create XML

Post 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.
Oleg
Site Admin
Posts: 3000
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: Create XML

Post 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
Oleg Yershov
Oleg
Site Admin
Posts: 3000
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: Create XML

Post 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
Oleg Yershov
ivan.ulens@vcst.be
Posts: 18
Joined: Mon Oct 28, 2019 12:38 pm

Re: Create XML

Post 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
Oleg
Site Admin
Posts: 3000
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: Create XML

Post by Oleg »

Is it 'ok' for you if I communicate this in a mail?
No problem
Oleg Yershov
Post Reply