xsl-list
[Top] [All Lists]

RE: Xpath and xsl position question

2003-06-15 23:08:33
Hi,

   

1. When I am inside chapter template, how do I know if
it's the last chapter after each header ?

  <xsl:if test="following-sibling::*[1][self::header]">

2. How do I find the position of header when I am
inside chapter template ?
   I tried <xsl:value-of select="../position()"/>. But
that didn't help.

  <xsl:number count="header" level="any"/>

Cheers,

Jarno - Claire Voyant: Twenty-Four Years

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



<Prev in Thread] Current Thread [Next in Thread>