Create XML

Discuss RoboTask here

Create XML

Postby ivan.ulens@vcst.be » Tue Apr 06, 2021 12:55 pm

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

Re: Create XML

Postby Oleg » Tue Apr 06, 2021 2:01 pm

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: 2668
Joined: Thu Jan 01, 1970 1:00 am

Re: Create XML

Postby Oleg » Wed Apr 07, 2021 1:18 pm

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

Re: Create XML

Postby ivan.ulens@vcst.be » Wed Apr 07, 2021 1:50 pm

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

Re: Create XML

Postby Oleg » Wed Apr 07, 2021 2:09 pm

Is it 'ok' for you if I communicate this in a mail?

No problem
Oleg Yershov
Oleg
Site Admin
 
Posts: 2668
Joined: Thu Jan 01, 1970 1:00 am


Return to General Discussion

Who is online

Users browsing this forum: Google [Bot] and 8 guests