Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.2 Final
-
None
Description
There is function getNamespaceURI(String prefix), but there is no inverted one.
Need this in following case:
- reading XML
- check, if prefix for particular namespace is defined (using getPrefix)
- if defined - using prefix, specified in XML
- if not defined - define prefix and using it
Usual way - to define prefix always - is not good, since prefix can already be used in XML file with another namespace.