How to read content in xml file and convert into list of record structure?

Hi all,

I have a XML file with sample data but I don't how to read that XML file and convert content of file into the list of record structures in Outsystems?

Is there any extension or component on Forge that can help me to browse to XML file and convert the content of the file into the list of record structures?


Regards,

Huy Nguyen,

Solution

Hi Huy,

There are some options to do this, but the easiest way is using the following Forge component 

https://www.outsystems.com/forge/component-overview/153/xml-records

Regards,

Daniel 

Solution

Hi,

 I found this:

https://www.outsystems.com/forge/component-overview/3709/xmltojson

If it works then u need to use widget serialize/deserialize to convert json to/from outsystems.

regards

The question was to convert XML to a recordist, there is no need to rondo an extra conversion from XML to json in-between. 

The component I proposed is a better option in my opinion.