Hi Annet,
If I understand you correctly, you can uses:
Readers -> Import Feature Types
This allows you to pick the feature types from a specific reader already available in the navigation pane.
I'm not sure about the XML reader I don't have much to do with XML... Perhaps FME validates the XML file first and your file fails to validate?
I know from importing other formats that if a file fails to import it will still be displayed in the naviation pane.
Regards,
-James
Hi Annet,
XML is Don's favourite format and so has a bit of excited coverage on FMEpedia.
James is right that generally you would go Readers->Import Feature Types, however in your case, FME simply is unable to locate any "Feature types" or layers within your XML file.
With XML files, as its simply lines of text, you need to tell FME how to read the XMl. i.e. what tags you're interested in, what is classified as a record, etc.
I'd recommend not using the XML reader at all. I'd just use a Creator and XMLFragmentor. Have a look in the Transformer Help for XMLFragmentor on how to do this. Alternatively have a look on FMEPedia on how to create a XFMAP and thus tell FME how to read your XML file.