|
Subject: Re: [xsl] [XPath 3.0] Why should I bother specifying the "arity" of a function that I invoke? From: Liam R E Quin <liam@xxxxxx> Date: Wed, 31 Oct 2012 22:31:21 +0100 |
On Wed, 2012-10-31 at 21:06 +0000, Costello, Roger L. wrote:
> Hi Folks,
>
> The XPath 3.0 specification says that when a named function is invoked
> you should specify the number of arguments (i.e., the arity):
>
> NamedFunctionRef ::= EQName "#" IntegerLiteral
No, a NamedFunctionRef is a reference to a function - e.g.
let $c := concat#3
return $c('Section', ': ', 1)
You must specify the arity when you are referring to a function in this
way.
Liam
--
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org freenode/#xml
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] [XPath 3.0] Why should I both, Costello, Roger L. | Thread | Re: [xsl] [XPath 3.0] Why should I , Michael Kay |
| [xsl] [XPath 3.0] Why should I both, Costello, Roger L. | Date | Re: [xsl] [XPath 3.0] Why should I , Michael Kay |
| Month |