Oxygen XML Editor
 
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Merging elements within a range using a key


Subject: Re: [xsl] Merging elements within a range using a key
From: "Mike B" <mikeb0304@xxxxxxxxxxx>
Date: Tue, 02 May 2006 07:46:00 -0500

David,

The odd code is to prevent outputting (sub)categories which will have no rows... categories are always complete, rows may be a subset.

I expected <xsl:if test="$row-test"> to work, but it seems to always be true, even if there are no rows in the range.

 there seemed to be
 something a bit odd about
     <xsl:if test="string-length($row-test) > 0">
     <xsl:choose>
      <xsl:when test="category">
  which is apparently testing for category children of the current
 category element.

Thanks, Mike B

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar  get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/



Current Thread
 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor