getChildWithAttribute

open fun getChildWithAttribute(@NonNull name: String, @NonNull attributeName: String, @Nullable attributeValue: String): Xml

Get first child with a specified attribute.

The first child with such name and attribute is returned.

Return

The child or null if no such child.

Parameters

name

The child's name.

attributeName

the attribute's name.

attributeValue

The attribute's value or nullfor any value.