getAttributeValueByName

fun Element.getAttributeValueByName(name: String): String?(source)

Returns the value of the value attribute of the single Element contained in this Element that has attribute name="[name]", or null if no single such Element exists.