You need to set attribute-name="true" to get a impact to the attirbute.
You only have to set atribute-name to get an impact to the attribute.