AW: [xsl] Nodes between two nodes with the same name (again :-(

Subject: AW: [xsl] Nodes between two nodes with the same name (again :-(
From: "Zink, Juergen" <Juergen.Zink@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 6 May 2003 15:59:06 +0200
>I need to output all nodes between two nodes with the same name, so that
>from the node <h> becomes the HEADER and all nodes after <h> until the next
><h> become the BODY. The source file is: 

<snip> 
>     <xsl:apply-templates
select="following-sibling::*[generate-id(following-sibling::html/body/h[1])=
generate-id(current()/following-sibling::html/body/h[1])]"/>

Try the following select:
     <xsl:apply-templates select="following-sibling::*[generate-id(.)=
generate-id(current()/following-sibling::html/body/h[1])]"/>
<snip>

Cheers,

Juergen


*****************************************************************************
Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte 
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese 
eMail irrtuemlich erhalten haben, informieren Sie bitte sofort den 
Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren 
sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. 
If you are not the intended recipient (or have received this e-mail 
in error) please notify the sender immediately and destroy this e-mail. 
Any unauthorized copying, disclosure or distribution of the material 
in this e-mail is strictly forbidden.
*****************************************************************************


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


Current Thread