Re: [xsl] Push Processing

Subject: Re: [xsl] Push Processing
From: Florent Georges <lists@xxxxxxxxxxxx>
Date: Mon, 2 Mar 2009 15:17:06 +0000 (GMT)
Michael Kay wrote:

> <xsl:function name="f:expand" as="element()">
>   <xsl:param name="item" as="element(item)"/>
>   <xsl:param name="child" as="element()?"/>
>   <xsl:choose>
>     <xsl:when test="exists($child)">
>       <xsl:sequence select="$child"/>
>     </xsl:when>
>     <xsl:otherwise>
>       <emptyCell/>
>     </xsl:otherwise>
>   </xsl:choose>
> </xsl:function>

  Just out of interest, why do you pass the $item param here?

  Regards,

--
Florent Georges
http://www.fgeorges.org/

Current Thread