Top "Xpath-2.0" questions

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

xpath - if else structure

i am experimenting with xpath. Here is the xml I am using for experimenting: <moves> <roll player="1"&…

xml xpath xpath-2.0
XSLT2: How to reference attributes about the current node in XPath2 predicates

I had posted another question with this as one aspect of it. I was told to clarify the question, but …

xpath xslt-2.0 xpath-2.0
Split node value with XPath

Is there some kind of split() function in XPath? Say I have this XML: <root> <path>…

xml xpath-2.0
Convert dateTime to unix epoch in xslt

I have a dateTime variable, and I want to convert it to a decimal value of epoch. How can this …

datetime xslt xpath xslt-2.0 xpath-2.0
What browsers support Xpath 2.0?

I have recently been working with XPath and have been searching for information on which browsers support XPath 2.0 without much …

xml xpath xml-parsing xpath-2.0
How to get only numbers from string with XPath

I have a string which contains numbers. Is it feasible only with XPath that I get only numbers from it? …

xpath xpath-2.0
How to check a node contains empty string or space or null in xpath?

I want to check using xpath an node in the xml contains empty string/spaces. What is the xpath expression …

xml xpath xpath-2.0
XQuery exist method

How do I check against multiple values in XQuery exist method? I'm running this XQuery in a SQL statement Select […

sql sql-server xquery xpath-2.0 exist-db
Convert xs:double to xs:integer in xPath 2.0

I am trying to convert a xs:double to xs:integer in xPath 2.0 with functions (I don't want to use …

xml xpath type-conversion xpath-2.0