You are here:
流行格式
>
XML (Extensible Markup Language) Reader/Writer
>
XFMAP.
>
More Expression Elements
>
Maprule.Expressions
Maprule.Expressions
TheMaprule.expr.ession provides information about mapping rules. It is represented in the xfMap document with the
The表达式字符串(即,expr.attribute) specifies the type of mapping rule information.
The following lists the valid values the表达式字符串可能需要:
activate-count:
返回映射规则已激活的次数。
例子
The example below illustrates several of the反对表达operations.
bin.xml.
- I’m some sort of item inside this bin.
- What type of item may I be?
- I wouldn’t know.
- Why should I?
- Ask the bin.
Maprule..xmp
<?xml版本=“1.0”?> <!doctype xfmap系统“xfmap.dtd”>feature-type> <属性> <属性> name> value> 属性> <属性> name> <值> <Maprule.expr.=”activate-count”/> value> 属性> 属性> mapping> feature-map> xfmap>
FME features constructed:
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Feature Type: `item' Attribute(string): `mapping-rule-activate-count' has value `1' Attribute(string): `value' has value `I'm some sort of item inside this bin.' Attribute(string): `xml_type' has value `xml_no_geom' Geometry Type: Unknown (0) =================================================================== +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Feature Type: `item' Attribute(string): `mapping-rule-activate-count' has value `2' Attribute(string): `value' has value `What type of item may I be?' Attribute(string): `xml_type' has value `xml_no_geom' Geometry Type: Unknown (0) =================================================================== +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Feature Type: `item' Attribute(string): `mapping-rule-activate-count' has value `3' Attribute(string): `value' has value `I wouldn't know.' Attribute(string): `xml_type' has value `xml_no_geom' Geometry Type: Unknown (0) =================================================================== +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Feature Type: `item' Attribute(string): `mapping-rule-activate-count' has value `4' Attribute(string): `value' has value `Why should I?' Attribute(string): `xml_type' has value `xml_no_geom' Geometry Type: Unknown (0) =================================================================== +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Feature Type: `item' Attribute(string): `mapping-rule-activate-count' has value `5' Attribute(string): `value' has value `Ask the bin.' Attribute(string): `xml_type' has value `xml_no_geom' Geometry Type: Unknown (0) ===================================================================