countNodes
Note:
While the countNodes
function is still available for use, Oracle recommends that you use version 1.0 of the XPath count()
function to return the size of the elements as an integer.
This function returns the size of the elements as an integer.
Signature:
ora:countNodes('variableName', 'partName'?, 'locationPath'?)
Arguments:
-
variableName
: The source variable for the data. -
partName
: The part to select from the variable (optional). -
locationPath
: Provides an absolute location path (with/
meaning the root of the document fragment representing the entire part) to identify the root of a subtree within the document fragment representing the part (optional).
Property IDs:
-
namespace-uri
:http://schemas.oracle.com/xpath/extension
-
namespace-prefix
:ora