How do I read data from an XML file in Fuse ?

I need to read text data from a XML file and display it on the screen. How do I do that ?

Hi!

You should head over to the Scripting & Data section of our docs. There you can see how to work with data and exposing it to UX.

Then there are a few simple steps to achieve what you want.

  1. Parse the XML file in JavaScript
  2. Transform the data to prepare it for UX
  3. Export Observable's for the data
  4. Use DataBinding to display your data