Using XPATH returns NULL.Please see and advise
Hi,
Why is my xpath giving null for the the flwg :
<Configuration>
<Listener.Whiteboard>
<AQListener>
<Product>A</Product>
<Message.Class>XMLMessage</Message.Class>
<Database>
<URL></URL>
</Database>
</AQListener>
</Listener.Whiteboard>
</Configuration>
Java Code
1) wbCL.initialise(m_config.getNode("/Configuration/Listener.Whiteboard"));
2)privatevoid initialise(Node confignode){
XPath xpath = XPathFactory.newInstance().newXPath();
Node listenerconfignode = (Node)xpath.evaluate("AQListener",confignode, XPathConstants.NODE);
}
System.out.println(listenerconfignode)// shows NULL
Any idea why this is showing Null?
Am I missing anything?
,

