There's findNamespace(uri, prefix), which returns an OMNamespace. This
is a little weird in that either the uri or the prefix is expected to be
null, so I could see refactoring it into two separate methods.
- Dennis
Glen Daniels wrote:
Folks:
There doesn't seem to be a way to use an OMElement to find the current
prefix for a given namespace URI... Shouldn't there be a
getPrefix(String) method?????
I'm currently working on WSCOMMONS-10 and noticed this was missing.
Anyone mind if I add it? This is basic good XML stuff, and I was
surprised not to find it.
--Glen