Dear JXPath users and developers,

I have started working with JXPath,
and I have a few questions relating to XPath queries.
I cannot understand failure of selecting nodes.

For example, I read in a XML document of

  <doc><x/></doc>

into DOM/JDOM and select nodes using
JXPathContext#selectSingleNode("//y") and
JXPathContext#selectSingleNode("/doc/y").
The first returns 'null' and the second raises JXPathException.
Please show me the difference in a reason in which
two queries fail.

Thank you in advance,
--
shirasu hiroyuki([EMAIL PROTECTED])

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to