I'm needing to write a reasonably complex GML v 3.2 file that will be created from a series of flat tables. I'm not sure how to construct the data in FME so that the writer will create the "nested table" structure required by the GML.
An example of the output structure would be as follows:
<gml:featureMember>
<geometryProperty>
<gml:Point> etc...
</geometryProperty>
<propertyType>Private</propertyType>
<addressList>
<address>
<number>12</number>
<street>Main</street>
<zip>39945</zip>
</address>
<address>
<number>12b</number>
<street>Main</street>
<zip>39945</zip>
</address>
<address>
<number>13</number>
<street>Main</street>
<zip>39945</zip>
</address>
</addressList>
</gml:featureMember>
Is there a tutorial on using the writer for complex output like this or can someone advise what the data should look like in FME for me to hand this to the writer and have the output look correct? I understand how I can take a flat table and just output based on the attribute names but now do I get data to appear deeply nested in the GML tree. Do I need to construct the nested GML elements as strings stored in attributes and build up the structure one bit at a time?