xsl-list
[Top] [All Lists]

Re: same xpath, different results? (more explination)

2003-06-23 08:18:53

something like

 <xsl:variable name="t" select="js:overYear(string(../../dateEntered)) = 
'true'"/>
  
<xsl:call-template name="commTotal">
  <xsl:with-param name="baseCst" select="
  
products/product[id=../../commissions/commission[earnerId=$earnerId]/product/productId]/*
    [$t]
     or
     self::count[not($t)]
    ]"/>

David


________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list