You are here: Popular Formats > XML (Extensible Markup Language) Reader/Writer > xfMap > Feature Mapping Rules > Apply References Element
Apply References Element
Existing references name/value pairs may be added as attributes to the feature being constructed. If references are partitioned into named groups then these groups may be selectively applied into attributes.
To add all references from a named reference group to the feature the <reference-group> element should be used.
The <reference-group> element is a child of the optional <apply-references> element.
The <apply-references> element may have 1 or more <reference-group> child elements. The name of the reference group is indicated via the <reference-group>’s name attribute. If no name is specified then the default group, the group with no name, is assumed.
The <apply-references> element takes the following form:
<feature-map> <mapping match="..."> ... <apply-references> <reference-group name=”...”/> ... <reference-group name=”...”/> </apply-references> ... </mapping> </feature-map>