I'm new here (and to FME!) so apologies in advance if this is a silly question.
I'm trying to read some GML files associated with some aerial imagery files I have.
The scheme of the GML files is defined by http://www.ordnancesurvey.co.uk/xml/namespaces/osgb OSOrthoMetadata.xsd
I want to create a .csv file containing columns for KmReference, dateFlown and Resolution for a series of files but I'm having difficulty configuring FME to read the dateFlown.
This is defined here:
http://www.centremapslive.co.uk/files/osmmuserguide.pdf
"There will be one dateFlown element if the
image was flown on a single day, or two
dateFlown elements representing the first and
last dates flown. Dates have the format of:
CCYY-MM-DD."
...so I think the problem is handling multiple elements. This seems to be confirmed by the fact that my sequence of GML Reader, Attribute Creater and CSV Writer is able read and write out the DateOfCompletion to my .CSV. DateOfCompletion only ever has 1 element.
Please can anyone advise on an approach to handle potential multiple dateFlown elements and return the single element or the latest date if multiple elements are present?
Many thanks in advance,
Matt