RE: [xsl] Positions

Subject: RE: [xsl] Positions
From: TSchutzerWeissmann@xxxxxxxxxxxxxxxx
Date: Tue, 13 Nov 2001 10:34:48 -0000
Hi Tanz,

><xsl:if test="./@lang='EN'">
>                     <xsl:value-of
>         </xsl:if>

The problem here is the . :preceding-sibling is already based on where you
currently are. Instead you need
"preceding-sibling::literal[@name='number']", or since you're using
value-of, "preceding-sibling::*[@name='number']". 

The first way gets you the first preceding sibling you want, the second way
gets all of them with 'number' but value-of will only treat the first one.

>Problem 1: I need the positions of "CUADRO" and "TABLEAU" to be reversed

Porqué - I mean, pourquoi? 

Tom Weissmann

 XSL-List info and archive:

Current Thread