13.7. Wildcard Binding Example
In the following example, a <order-item> element has been set. It contains values to be populated into a Map:
<order-item> <product>111</product> <quantity>2</quantity> <price>8.90</price> </order-item>
The wildcard binding configuration for doing this would be:
<jb:bean beanId="orderItem" class="java.util.HashMap" createOnElement="order-items/orderItem"> <jb:value data="order-items/orderItem/*" /> </jb:bean>