Top "Xpath-2.0" questions

Use this tag for questions specific to XML Path Language (XPath) version 2.0

How to calculate a weighted average in XPath or XQuery?

I need to calculate a simple weighted average in a XForms form. How can I do that in an elegant …

xpath xquery orbeon xforms xpath-2.0
Shortest XPath to find minimum/maximum of sibling dateTime nodes

I have the following simple xml: <root> <item> <d>2002-05-30T09:00:00</d&…

xml datetime xpath xpath-2.0
Find duplicate sibling with xpath

How to find only nodes with at least a similar/equal sibling node using Xpath? For example: <root> &…

xpath duplicates xpath-2.0 siblings
Will XPath 2.0 and/or XSLT 2.0 be implemented in PHP?

The question was asked but deleted by the asker before it received an answer. Because I believe the question is …

php xslt xpath xslt-2.0 xpath-2.0
foreach inside tokenize

This is a snippet from the xml: <sample> <test> <Cell1>John</Cell1> &…

xslt xslt-2.0 xpath-2.0
How to concatenate two node-sets such that order is respected?

My understanding has been that, despite the fact that XSLT's "node-sets" are called "sets", they are, in fact, ordered lists …

xslt xpath xpath-2.0