Allows the GML reader to extract values from the XML Schemas. A dataset is not required in this mode since the values for the data features are determined from the xsds. The xsd value attribute names will be suffixed with .xsd.XXX, where XXX are various xsd components. A single data feature is constructed for each Explore XSD Values feature type definition.
For example, the "Bygning" SOSI feature type has a "medium" attribute whose type is xml_buffer. The "medium" is an enumeration in the XML Schema, but this is not representable in the FME feature type definitions, therefore xml_buffer was used. Enabling this Explore XSD Values option instructs the GML reader to construct the following attributes for "medium":
"medium.xsd.enum{}.value" "xml_buffer"
"medium.xsd.enum_values_csv" "xml_buffer"
"medium.xsd.enum{}.annotation.appinfo{}.source" "xml_buffer"
"medium.xsd.enum{}.annotation.appinfo{}.xml_fragment" "xml_xml"
"medium.xsd.enum{}.annotation.documentation{}.source" "xml_buffer"
"medium.xsd.enum{}.annotation.documentation{}.text" "xml_buffer"
"medium.xsd.enum{}.annotation.documentation{}.xml_fragment" "xml_xml"
"medium.xsd.enum{}.annotation.documentation{}.xml_lang" "xml_buffer"
The xsd.enum{} is a list attribute whose component lists a single enumeration value, while xsdl.enum_values_csv is a single attribute listing all enumeration values as a comma-separated string:
"medium.xsd.enum{0}.value" has value "V"
"medium.xsd.enum{1}.value" has value "B"
"medium.xsd.enum{2}.value" has value "L"
"medium.xsd.enum{3}.value" has value "I"
"medium.xsd.enum{4}.value" has value "S"
"medium.xsd.enum{5}.value" has value "T"
"medium.xsd.enum{6}.value" has value "O"
"medium.xsd.enum{7}.value" has value "D"
"medium.xsd.enum{8}.value" has value "J"
"medium.xsd.enum{9}.value" has value "W"
"medium.xsd.enum{10}.value" has value "U"
"medium.xsd.enum{11}.value" has value "X"
"medium.xsd.enum_values_csv" has value "V,B,L,I,S,T,O,D,J,W,U,X"
An enumeration may contain up to a single annotation, while each annotation may contain any number of documentation and appinfo tags. In the same example, the medium.xsd.enum{}.annotation.appinfo{} list attribute component lists the source xml attribute and appinfo content, where appinfo content is an xml fragment. Similarily, the medium.xsd.enum{}.annotation.documentation{} list attribute component lists the source xml attribute, the xml:lang xml attribute, and documentation content as both raw xml (xml_fragment) and text:
"medium.xsd.enum{0}.annotation.documentation{0}.source' has value `'
"medium.xsd.enum{0}.annotation.documentation{0}.text' has value `Alltid i vann '
"medium.xsd.enum{0}.annotation.documentation{0}.xml_fragment' has value `<documentation xmlns="http://www.w3.org/2001/XMLSchema">Alltid i vann</documentation>'
"medium.xsd.enum{0}.annotation.documentation{0}.xml_lang' has value `'
For documentation content, the xml_fragment attribute contains exactly the xml fragment as in the .xsd, while the text attribute contains only existing raw text and no other xml.
Currently, only enumeration values and annotations contained within enumerations are supported.