Simple XSL Question

Subject: Simple XSL Question
From: "Rob van der Zeijden" <r.zeijden@xxxxxxxxx>
Date: Thu, 2 Nov 2000 17:21:41 -0400 (EST)
Hi,

xml fragement:

<tablelayout>
      <column nr='1'>
         <columnwidth1>9cm</columnwidth1>
         <columnwidth2>7cm</columnwidth2>
         <columnwidth3>3cm</columnwidth3>
      </column>
      <column nr='2'>
         <columnwidth1>9cm</columnwidth1>
      </column>
   </tablelayout>


How can I count all the children of the element column where nr = 2?
Should be something like this:
<xsl:value-of select="count(//tablelayout/column/*)"/> the only thing is that the nr=2 
is not handled yet.

Thanks Rob




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


Current Thread