xsl-list
[Top] [All Lists]

Re: [xsl] listing elements based on 2 conditions

2007-07-05 08:11:29
Mukul Gandhi wrote:

Shouldn't this work..

<xsl:for-each select="element[type = 'business']">
  <xsl:if test="position() &lt; 6">
    <xsl:copy-of select="name" />
  </xsl:if>
</xsl:for-each>

  <xsl:copy-of select="
      element[type = 'business'][position() lt 6]/name"/>

  Regards,

--drkm























      
_____________________________________________________________________________ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 

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