[xquery-talk] how can I compare each node with it's prior node
gandhi.mukul at gmail.com
Fri May 6 08:42:11 PDT 2011
On Fri, May 6, 2011 at 1:14 PM, Kunal Chauhan <mail4ck at gmail.com> wrote:
> I want to check which node is above the price node. I want that node.
There is no formal terminology as "above" in XPath data model. I think
you would be meaning parent, preceding-sibling or a preceding
If it's parent, you can access that as .. or parent::* ; or using
other axes as appropriate.
Though, I agree with Ron, that restructuring your XML may help you
query the data more easily.
More information about the talk