xsl-list
[Top] [All Lists]

RE: [xsl] Push Processing

2009-03-02 10:52:57
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?

Because I changed the design half way through.

Michael Kay
http://www.saxonica.com/


--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>