Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
A version of this page is also available for
4/8/2010
The XML Path Language (XPath) syntax supports Number functions that return strings or numbers and can be used with comparison operators in filter patterns.
The following table shows the Number functions implemented by XPath.
Function | Description |
---|---|
Returns the smallest integer that is not less than the argument. |
|
Returns the largest integer that is not greater than the argument. |
|
Converts the argument to a number. |
|
Returns an integer closest in value to the argument. |
|
Returns the sum of all nodes in the node set. Each node is first converted to a number value before summing. |