Skip to main content
Question

XML file that I need to generate a chart from

  • January 25, 2019
  • 1 reply
  • 28 views

I am trying to parse an XML file to generate a chart. I am not exactly sure how do do this and could use some help. These should be data series line graph of temperature, salinity, and sound velocity by water depth.

Here is an xml example file!

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • 1637 replies
  • January 26, 2019

Hi @ginabrewer,

A combination of the XML reader and the ChartGenerator should produce the results you are looking for.

I am attaching an example workspace for you:

xmlchart.fmw

 

The Temperature and Salinity values have similar ranges, so can be combined into a single chart.

 

Result:

The Sound Velocity has a very different range, so needs a separate chart: