xsl-list
[Top] [All Lists]

Looking for a shorter mapping expression

2004-12-05 00:53:57
Hi,

Could someone, please, suggest a more compact expression, equivalent
to the value of the "select" attribute below:

      <xsl:sequence select=
       "for $this in $pList1 return
          f:apply($pFun, $this)"
      />

It seems to me that this is illegal:

     $pList1/ f:apply($pFun, .)

because $pList1 in general may contain atomic items (not nodes).


Cheers,
Dimitre.

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--