The value to be used as input to a function call.
An Argument
can be any expression which is then used as
input to a FunctionCall
.
It corresponds to the expression Argument
defined in XPath,
Section 3.2, Rule
17.
Get the number of patients living in Bradford (the argument for
count()
is the node set containing patient
nodes that
satisfy the following filter expression: there are address
child
nodes that have a city
child node whose string value equals
"Bradford"):
count(/patient[address/city = 'Bradford'])
Get the number of attributes of the type
node (the
argument for count()
is the node-set consisting of all attribute
nodes that are attached to descendant type
element nodes):
count(//type/@*)
Select all patients without close relatives (all patient
nodes that do not have nextofkin
child nodes):
/patient[not(nextofkin)]
FunctionCall |