Re: $p:position available everywhere

On 5/1/07, Innovimax SARL <innovimax@gmail.com> wrote:
> I submit a proposal to make $p:position available everywhere

Is there any reason why we are using a variable rather than a
function? I am more used to see host languages expose this type of
information to XPath with functions rather than variables. For
instance, XForms has index(..), XSLT has current().

Also, I find the naming to be confusing: we can choose a name that
makes a clearer distinction between what we mean by p:position and the
XPath position(). We can for instance use the name
"document-position".

Alex
-- 
Orbeon Forms - Web 2.0 Forms for the Enterprise
http://www.orbeon.com/

Received on Wednesday, 2 May 2007 02:23:37 UTC