Hi All: Is there a way of registering a namespace prefix upfront in a JXPathContext so that I can then use that prefix in xpath expressions? Here's what I'm looking for, in pseudo-code.
JXPathContext domContext = JXPathContext.newContext(document); domContext.registerNamespace (http://www.example.com/ns/sample, "prefix"); domContext.getValue("prefix:a/prefix:b"); Thanks chap --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
