##### Features in a configuration

Here is an example of how features can be used in a configuration.

[source,xml]
----
 <feature-pack xmlns="urn:jboss:galleon:feature-pack:1.0"
                groupId="org.jboss.pm.test" artifactId="fp1" version="1.0.0">
   <config>
     <feature spec="feature1">
       <param name="a" value="a1"/>
       <param name="b" value="b1"/>
       <param name="d" value="d1"/>
     </feature>
     <feature spec="feature1">
       <param name="a" value="a2"/>
       <param name="d" value="d2"/>
     </feature>
     <feature spec="feature1">
       <param name="a" value="a3"/>
       <param name="c" value="c3"/>
       <param name="d" value="d3"/>
     </feature>
   </config>
 </feature-pack>
----

In this example, the *config* element describes the default configuration which will be generated when *fp1* is installed (unless it is explicitly customized by the user), which includes three features of the same spec. When the final configuration is generated, the features will be processed in the order they appear in the *config* element.
