Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • 2
    you're still hardcoding the namespaces! Commented Aug 16, 2011 at 16:55
  • Exactly what I was looking for. The javadoc: ws.apache.org/commons/util/apidocs/index.html Commented Aug 3, 2012 at 20:39
  • Meitham - I don't any way that avoids hardcoding the name space. You are bootstrapping the XPath search by creating this namespace context, initializing it by mapping a short prefix to each namespace you know contained in the document, and then when searching by XPath you use those prefixes when defining the path. Commented Aug 4, 2012 at 7:25
  • "Apache WebServices Common Utilities" is exactly what I looking for. +1 Commented Apr 18, 2023 at 8:13