FME架构功能

Since the XML Reader is an FME plug-in reader, it must be able to return FME schema features, either to FME or to a third-party application through FME Objects. An xfMap document may contain an optionalelement that instructs the XML Reader on how the FME schema features should be constructed. On default, if theelement is not present, the schema features are constructed by scanning all of the FME features returned by the XML Reader. Currently, the XML Reader can construct FME schema features by three different methods which are specified through the元素的子元素。

If theelement is present, then it must contain one of the following child elements:

  1. element- this is the XML Reader’s default method for constructing schema features. If theelement is not present in an xfMap document, then this method is assumed.
  2. element- this element contains two attributes, thexfMapdocumentattributes, that specify the XML document with the schema feature information and the xfMap document which maps that information into FME schema features.
  3. 内联> <element- this element can contain zero or morechild elements. Aelement represents an FME schema feature explicitly; it contains atypeattribute that specifies a schema feature’s feature type, and zero or more指定架构功能的属性和属性类型的元素。

The following sections describe each element.