|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] level of the next node
Hi, 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? thanks Silvia Liberto <xsl:template match="w:p" mode="sect-begin"> <xsl:variable name="level" select="number(substring(w:pPr/w:pStyle/@val,13))"/> ... </xsl:template> <xsl:template match="w:p" mode="next_sect"> <xsl:variable name="next_level" select="number(substring(following-sibling::w:p[node()][1]/w:pPr/w:pStyle/@w:val,13))"/> ... </xsl:template> -- 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








