- XML (Extensible Markup Language) Reader/Writer
- XML Quick Facts
- Workbench XML Reader Parameters
- Workbench XML Writer Parameters
- Feature Representation
- Mapping File Reference
- xfMap
- Reading the Input XML Document
- Mapping Rules
- Types of Mapping Rules
- Match and Except Expression
- Specifying Several Match Expressions for One Mapping Rule
- Limiting Mapping Rule Activation with Except Expressions
- Mapping Rule States (activation, execution, suspension, and de-activation)
- Using Force Elements During Mapping Rule Activation and Deactivation
- Search-sets
- Expression Elements (Extract and Literal)
- Expression Sequence
- Feature Mapping Rules
- FME Feature Construction
- Feature Type Element
- Attributes Element
- FME Feature Construction (defining mapping rules under the <feature-content-map> element)
- Attribute Element (handling multiple values)
- Attribute Element (handling optional attributes)
- Attribute Element (sequenced attributes)
- Attribute Element (Nillable Attributes)
- Geometry Element
- Geometry Builder States (activation, execution, suspension, and de-activation)
- Geometry Construction
- Composite Geometry Builders
- Built-in Geometry Builders
- Mapping Segmented Geometric Information
- Geometry Traits (trait element)
- FME Feature Construction (constructing multiple features at a time)
- Structure Element
- References Element
- Apply References Element
- Group Mapping Rules
- Reference Mapping Rules
- Mapping Rules (Optional Elements)
- More Expression Elements
- FME Schema Features
- Reading the Input XML Document
You are here: Popular FormatsXML (Extensible Markup Language) Reader/WriterxfMapMapping Rules (Optional Elements)Signature Element
Signature Element
The signature of a mapping rule serves two purposes:
- it identifies the mapping rule by name, and
- it declares some named parameters, which are passed into a mapping rule on activation.
The signature of a mapping rule is defined with the optional <signature> element. The <signature> element has a name attribute that defines the name of the mapping rule. The mapping rule’s optional named parameters are defined via the <signature>’s <params> child element; this element contains a sequence of one or more <param> elements that specify the names of the parameters via their name attribute:
<mapping match=”...”> <signature name=”myMappingRule”/> ... </mapping> <mapping match=”...> <signature name=”myOtherMappingRule”> <params> <param name=”firstParam”/> <param name=”secondParam”/> </params> </signature> </mapping>
myOtherMappingRule has two named parameters: firstParam, and secondParam. The value of a named parameters is a expression sequence and it may be access via the parmval expression element.