216 shaares
7 private links
7 private links
If you want to use namespaces in XPath expressions, you have to provide the link of the used prefix to the URI of the namespace. This article describes three variants of providing the prefix to namespace mapping. It contains example code to make it easy to code your own NamespaceContext.