[xsl] level of the next node

Subject: [xsl] level of the next node
From: "Silvia Liberto" <SLiberto@xxxxxx>
Date: Fri, 9 Dec 2005 18:13:49 +0100 (MET)

i have several w:p siblings and i want to get the level of each one.
so in this template i created "level" and in the next template "next_level".
The variable next_level dosen4t contain the number of the next level. Can
someone give me a tip where the problem is?

Silvia Liberto

<xsl:template match="w:p" mode="sect-begin">
<xsl:variable name="level"

<xsl:template match="w:p" mode="next_sect">
<xsl:variable name="next_level"


GMX DSL-Flatrate 1 Jahr kostenlos* + WLAN-Router ab 0,- Euro*
Bis 31.12.2005 einsteigen! Infos unter: http://www.gmx.net/de/go/dsl

Current Thread