map

inline fun <R> NamedNodeMap.map(body: (Attr) -> R): List<R>

A Collection.map function for transforming attributes.