Hi
I dont work with xml much. (Luckly).
I have a task now, and I tried to phrase it in what seems like a stupid way.
I have tried both importing as xml, and using the xml phraser.
But I don't get all fields.
Anyone know how to do this?
Kind regards
Solved! Go to Solution.
Hi @Hamder83 ,
When xml has multiple layers like yours, it may be necessary to specify the tag explicitly in XML Parse tool.
For example, if you want to collect the data under "Address" tags, you may specify it to "Specific Child Name", and you would get the contents.
Configuration
Workflow
Output (for Address)
I hope this can be of some help.
hi @Yoshiro_Fujimori - this is great - this gets me a long way :)
ive been playing around with this for a few hours now. Do you have an idea, if the list of child fields varies to some extend. How do I automatically get new fields extracted?
kind regards
Hi @Hamder83 ,
I would say it depends on the complexity of the data structure.
Unlike Relational DB, XML is very flexible in structure.
Simple XML may be able to automatically put into a two dimension table,
but such a conversion is sometimes difficult for multi-layer XML data, depending on the complexity of the structure.
For example, here is a sample XML data for Customer Transfer exchanged between Financial Institutions.
I think it would not be easy to put it to a table "automatically",
and you would need to design the logic carefully referring to the documentation and the XML schema.