Skip to main content
simply more productive

The Data Specialist

Thanks to our intuitive transformation designer, you can convert data effortlessly to a variety of formats without knowing how to program. It’s not only efficient, it’s also easy to use.
Flowheater Chart

Converting Swedish Payment files from XML to flat txt files

  • Per-Olof Hermansson
  • Topic Author
  • Offline
  • User
  • User
More
1 year 7 months ago #3688 by Per-Olof Hermansson
Hi
The Swedish banking system is changing from traditional flat files to XML files. The system we use imports flat files, and has no functions to interpret XML files,

I enclose an example of a XML file, which we need to interpret and modify to fit the old flat file layout,

There are several types of file, not certain at this stage which is the one to use...

I also include a XSD-file that I got from the bank, if that helps,

best regards,
Per-Olof

Please Log in or Create an account to join the conversation.

  • Per-Olof Hermansson
  • Topic Author
  • Offline
  • User
  • User
More
1 year 7 months ago #3689 by Per-Olof Hermansson
Replied by Per-Olof Hermansson on topic Converting Swedish Payment files from XML to flat txt files
not sure the files where attached, I will try again,

Please Log in or Create an account to join the conversation.

More
1 year 7 months ago #3690 by FlowHeater-Team
Hi Per-Olof,

XML is a tricky and complex format. For your purpose you have to split the read into separate processing steps. I´ve created a simple example for you, please have a look to the attachment.
In the First step you read the XML header data. In the next step you read the details and so on.

Please note: This works as long in your XML file just one “Notification” appears and all data refers to this one.

 

File Attachment:

File Name: xml-to-falt-file.zip
File Size:22 KB

 

Best wishes
Robert Stark

Did this answer your question? We would be grateful if you provide a brief comment as feedback. It may also help others who may have encountered a similar problem.

Please Log in or Create an account to join the conversation.

  • Per-Olof Hermansson
  • Topic Author
  • Offline
  • User
  • User
More
1 year 7 months ago #3691 by Per-Olof Hermansson
Replied by Per-Olof Hermansson on topic Converting Swedish Payment files from XML to flat txt files
Thanks,

I have a year to solve it, since they are changing to the new format in early 2024!

best

Per-Olof

Please Log in or Create an account to join the conversation.

Time to create page: 0.270 seconds
FlowHeater Logo

FlowHeater - The Data Specialist

Efficient data integration and transformation with FlowHeater – the perfect solution for a seamless transfer of your data.

Legal information

Support & Contact

Contact

Phone:
0951 / 9933 9792

eMail:
This email address is being protected from spambots. You need JavaScript enabled to view it.


Copyright © 2009-2024 by FlowHeater GmbH. All rights reserved.