Re: [xml-dev] How to specify null value and collection value as an XPATH function parameter value

From
David Carlisle <>
To
Farrukh Najmi <>
Date
2010-10-08T19:33:05Z
ID
<>
Thread
Re: [xml-dev] How to specify null value and collection value as an XPATH function parameter value
On 08/10/2010 19:47, Farrukh Najmi wrote:
>
> Is it possible to specify a null value to an XPATH function as a
> parameter value?

xpath doesn't have a value called null, but it has an empty sequence 
which can often play a similar role.

>
> Also, is it possible to specify a collection (e.g. collection of
> strings) to an XPATH function as a parameter value?

Xpath has sequences rather than collections, you can of course bind a 
parameter to a sequence of strings. (If using a programming API, often 
command line interfaces are more restricted)

David