Hi,

If I use the following code :

XPath jPath = new XPath("my/path");
Object result = jPath.selectSingleNode(elementNode);

selectSingleNode returns null, whereas if I use this one :

XPath jPath = new XPath("./my/path");
Object result = jPath.selectSingleNode(elementNode);

selectSingleNode finds the good result.

Is it the appropriate result ? How can I use the first syntax ?

thanks in advance,

Jérôme Nègre


_______________________________________________
Jaxen-interest mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jaxen-interest

Reply via email to