I would like to be able to create a varargs extension function.
---------------------------------------------------------------

                 Key: JXPATH-130
                 URL: https://issues.apache.org/jira/browse/JXPATH-130
             Project: Commons JXPath
          Issue Type: Improvement
    Affects Versions: 1.2 Final
            Reporter: Bob Lyons
             Fix For: 1.2 Final


I was not able to create an extension function that has a variable number of 
arguments.
I'd like to create an extension function that returns true if the first 
argument is equal to any of the other arguments.
For example: 

 ns:firstArgIsInList( node, 1, 2, 3, 4, 5 )

which would return true if node is equal to 1, 2, 3, 4 or 5.

Thanks.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to