You are here: Popular Formats > XML (Extensible Markup Language) Reader/Writer > xfMap > Mapping 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.