- 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)Use-Mappings Element (implicit arguments)
Use-Mappings Element (implicit arguments)
The value for a <parmval> expression element in a mapping rule may also be supplied by named arguments. These named arguments in the use-mappings do not need equivalent parameters declared in the mapping rule’s signature.
Implicit arguments in are defined with the optional <implicit-args> element. Each argument is defined with an <arg> element. The <arg> element has a name attribute that defines the name of the argument:
<use-mappings> <implicit-args> <arg name=”…”> … some expression sequence … </arg> … <arg name=”…”> … some expression sequence … </arg> </implicit-args> <use name=”…”> … </use> … <use name=”…”> … </use> </use-mappings>
The implicit arguments are common to every mapping rule specified in the use-mappings. Thus, every mapping rule refer to by the <use> element may access the value of an implicit named argument via a <parmval> expression element.