功能类型元素

每一个特征映射规则可能(这是一个可选的元素)包含一个特征类型元素,此元素的内容是一个表达序列其值成为构造的FME功能的特征类型。这在XFMAP中表示元素:

 <! - 内容是某种表达序列 - > 

笔记:The feature type for the FME feature that is under construction is set only by the first activated feature mapping rule that contains a element. Subsequent feature mapping rules with elements for the same FME feature under construction are ignored by the XML Reader.

以下XFMAP文档,feature_type.xmp.,包含映射规则R.P.匹配A.来自输入的元素P.oints1.xml文档。这里R.P.has a指示XML读取器设置正在建设的FME功能的要素类型的元素。

feature_type.xmp.

<?XML Version =“1.0”编码=“UTF-8”?> <!doctype xfmap系统“xfmap.dtd”>   <! - 调用此映射规则RP  - > <映射匹配=“point”>  <! - 要素类型元素具有其内容XFMAP表达式序列。表达序列是表达元素的序列。- >  <文字expr =“_”/>     

当。。。的时候P.oints1.xmland the abovefeature_type.xmp.文档被馈送到XML读取器中,构建了以下FME功能:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
功能类型:mypoint_0'
属性:xml_type'具有值xml_no_geom'
几何类型:未知(0)
==============================================================.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
功能类型:mypoint_1'
属性:xml_type'具有值xml_no_geom'
几何类型:未知(0)
==============================================================.