[jdom-interest] XPath / default namespace

Laurent Bihanic laurent.bihanic at atosorigin.com
Mon Sep 1 04:07:22 PDT 2003


Rob Henley wrote:
> I tried various ways of prefixing the element with the namespace without 
> luck.

XPath xpath = XPath.newInstance("//foo:AAA");
xpath.addNamespace("foo", "http://my/standard/");

Laurent




More information about the jdom-interest mailing list