Skip to main content
Question

Problems reading an XML file in FME Workbench

  • August 4, 2023
  • 1 reply
  • 72 views

I am right now struggling to understand this issue. I have read XML several time with FME several times and never encountered this problem. I have an XML file that just lists a couple of airports with some basic information. The xml file looks like this:

 

imageI read it like this:

imageimage 

But when I read it in, this is what I get out of it:

image 

What is going wrong here?

1 reply

thijsknapen
Contributor
Forum|alt.badge.img+10
  • Contributor
  • August 5, 2023

I suppose with 'wrong' you mean that you don't see attributes like 'OBJECTID', 'Name', 'Ort', etc. in the table view? If so, that's probably related to Flattening being disabled (default it seems to be enabled).

Can you verify that this setting is enabled for you? You can enable/disable this at the Reader parameter under 'Customize Attributes' -> 'Flatten Options'

Click on 'Options', and make sure that the checkbox in front of 'Enable Flattening' is checked.

image


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings