I have to transform various datasets in gml-files which have to have a certain structure (>xsd-schema-file). The gml-files get imported into a subsequent application which checks the structure and throws an error if something is missing.
In my original data though, not all the featureclasses exist in all the datasets, and in the gml-files that are written, those featureclasses are not contained and I get errors afterwards.
I would like FME to write all the featureclasses to the gml that are defined in the schemafile, so that if there is no data for a featureclass, the tags for this featureclass are written into the gml-File, but without data between them.
There's a parameter for the GML-writer "Write all featureclasses", but the tags are still not written for missing featureclasses.
(In the docs it says concerning this parameter:
Every GML writer DEF line is translated to the output GML application
schema document as an XML Schema element declaration and a corresponding
complex type definition.
> what's a DEF line?)
So is there a way I can get gml-files with tags for all the featureclasses in them?
Thanks in advance.
Vera