All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.phraseapp.parsers.xml.DocumentExtensions.kt Maven / Gradle / Ivy

The newest version!
package phraseapp.parsers.xml

import org.w3c.dom.Document
import org.w3c.dom.Node

operator fun Document.get(vararg keys: String): List =
    keys.map { NodeList(getElementsByTagName(it)) }.flatten()




© 2015 - 2024 Weber Informatics LLC | Privacy Policy