getProperty

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

Returns the single child with attribute name="[name]", or null if there is not exactly one such child.