Skip to main content
  • 7,211 Posts
  • 26,540 Replies
7211 Posts
Parsing XML properties properly

Hello - part 2 of an XML thread.  I have a bunch of nodes in an XML document that look like this;<nodes>            <node>              <properties>                <property type="field_name">first_name</property>                <property type="field_data">Ben</property>              </properties>            </node>            <node>              <properties>                <property type="field_name">last_name</property>                <property type="field_data">Potts</property>              </properties>            </node></nodes>And I want to get those out as variables to use down the line in an FME workbench. At the moment I am relying on the order of them in a Test Filter (i.e. If @Value(_attr_name) = nodes.node{0}.properties.property{1} = fir

Badge Winners

  • Welcome Back
    simonbentenhas earned the badge Welcome Back
  • Welcome Back
    bengunnewijkhas earned the badge Welcome Back
  • Webinar Watcher (Grey)
    arihas earned the badge Webinar Watcher (Grey)
  • Welcome Back
    arihas earned the badge Welcome Back
  • Welcome Back
    nsmarthas earned the badge Welcome Back
Show all badges

Community Stats

32,331
Posts
123,147
Replies
40,367
Members