[jdom-interest] getNamespace(String prefix, Element context)
bob
bob at accurev.com
Sun Oct 15 09:48:37 PDT 2000
Heya Brett--
The method in Namespace.java
public static Namespace getNamespace(String prefix, Element context)
seems close to what I want, but it checks the namespaces attached
to attributes, instead of additionalNamespaces. It doesn't
seem like it'd find the prefix 'foo:' on the context of <c>
in this example:
<a>
<b xmlns:foo="http://foo.org/">
<c/>
</b>
</a>
Am I mis-reading the source?
-bob
More information about the jdom-interest
mailing list