| 
 
Subject: Re: [xsl] Elements of non-actual position From: Joerg Heinicke <joerg.heinicke@xxxxxx> Date: Wed, 05 Jun 2002 09:55:05 +0200  | 
Michael Leditschke wrote: > Hi Joerg. Isn't there a level missing here? Shouldn't it be > <xsl:template match="table/rows/row"> > <xsl:for-each select="col"> > > Otherwise pos is the row number not the column number. > > Regards > Michael
<xsl:template match="table/rows"> <xsl:for-each select="row[1]/cell"> <xsl:variable name="pos" select="position()"/> <xsl:if test="/table/cols/col[$pos]/@visible = '1'"> do what you want </xsl:if> </xsl:for-each> </xsl:template>
| Current Thread | 
|---|
  | 
| <- Previous | Index | Next -> | 
|---|---|---|
| RE: [xsl] Elements of non-actual po, Michael Leditschke | Thread | [xsl] back again: child nodes in va, Aniceto López | 
| Re: [xsl] What is %26 doing in my H, Daniel Veillard | Date | [xsl] 答复: XSL-List Digest V4 #415, LiuXiaoWu(刘小武) | 
| Month |