> JXPath cannot, by design, step upward from the root. The rationale is
// does not step up, it does step down. //node means any node below the
currently selected one (root).
<blah>
<one>
<some />
<two>
<some />
</two>
<some />
</one>
<some />
</blah>
JXPathContext c = JXPathContext.newContext(blah);
C.getValue("//some");
This should select all four "some" nodes.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]