getPrefix

open override fun getPrefix(namespaceURI: String): String?

Return a prefix for a given namespace uri. If there are multiple candidates the returned prefix is implementation defined.

Return

null if no prefix is found, otherwise a matching prefix.