I am working with cnc machine data reporting back in a complex xml structure.
The data is only generated when the component changes value. If a machine sits ideal, things like the path component won't report any data, but components such as ambient temperature senors may still report data. Point being, everything under DeviceStream is dynamic.
I'm interested in drilling down to the lowest level of data, things like pathfeedrate, line, etc. I'm currently doing this with an ungodly amount of if statements and feel like there has to be a better way to parse this.
If you want to see the structure for yourself, there is a demo at http://mtconnect.mazakcorp.com/