main.phraseapp.parsers.xml.DocumentExtensions.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gradle-client Show documentation
Show all versions of gradle-client Show documentation
JVM client to interact with Phrase via its API.
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()