Why is my xpath giving null for the the flwg
Why is the listernerconfig node being set to NULL?
Am i missing something?
Code:
<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) private void initialise(Node confignode){
XPath xpath = XPathFactory.newInstance().newXPath();
Node listenerconfignode = (Node)xpath.evaluate("AQListener",confignode, XPathConstants.NODE);
}
Am i missing something?
Comment