HashMap<String, String> map = new HashMap<String, String>();
map.put("pmh", "http://www.openarchives.org/OAI/2.0/");
map.put("xb", "http://com/exlibris/digitool/repository/api/xmlbeans");
XPath xpathTitle = new Dom4jXPath("/pmh:OAI-PMH/pmh:GetRecord/pmh:record/pmh:metadata/xb:digital_entity/pmh:mds/pmh:md[pmh:type='dc' and pmh:name='descriptive']/pmh:value");
xpathTitle.setNamespaceContext(new SimpleNamespaceContext(map));
XPath xpathURL = new Dom4jXPath("/pmh:OAI-PMH/pmh:GetRecord/pmh:record/pmh:metadata/xb:digital_entity/pmh:urls/pmh:url[@type='stream']");
xpathURL.setNamespaceContext(new SimpleNamespaceContext(map));
XPath xpathLabel = new Dom4jXPath("/pmh:OAI-PMH/pmh:GetRecord/pmh:record/pmh:metadata/xb:digital_entity/pmh:control/pmh:label");
xpathLabel.setNamespaceContext(new SimpleNamespaceContext(map));
Node dcNode = (Node) xpathTitle.selectSingleNode(doc);
Node urlNode = (Node) xpathURL.selectSingleNode(doc);
// Node labelNode = (Node) xpathLabel.selectSingleNode(doc);