<field id="myName" value="myValue"> <param id="myAttribute" value="myAttributeValue"/> </field>
The attribute's initial value is be "myAttributeValue".
To get the value of the attribute, you would use getParameter(String), where the String is the name of the attribute, in this case "myAttribute." To set the attribute, you would use setParameter(String, Object) where the String is the name of the attribute and the Object is the new value.