I have a known structure of an XML file/feed and am using an xfmap file to map attributes. The XML feed doesn't always have all of the fields in their feed. Is there a way to populate a reader attributes from an xfmap file?
Solved
Exposing known XML/JSON Attributes
Best answer by takashi
Hi @runneals, I think the <schema-type> element (an optional child element of an xfMap) is what you are looking for. See this documentation: XML Reader/Writer > xfMap > FME Schema Features
There are three ways (child elements) to implement the <schema-type>, but probably learning the <inline> element would be a good starting point. See also here: Inline FME Schema Features
Reply
Rich Text Editor, editor1
Editor toolbars
Press ALT 0 for help
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.