Subject: Re: [xsl] question about a past problem (solved by Ken)|
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 20 Nov 2007 17:54:09 -0500
Here is the flat XML-code: ... I am using this stylesheet for transformations: ... <xsl:template match="h2"> <title> <xsl:apply-templates/> </title> <xsl:for-each-group select="following-sibling::*" group-starting-with="h2|h3|h4|h5"> <xsl:apply-templates select="current-group()"/>
But something is wrong with it but I cannot see the mistake at the moment. My problem is, that the textnodes are outputted after every <sectxx>. This should come from the <xsl:apply-templates select="current-group()"/> but I donnot really want them to be displayed.
-- Comprehensive in-depth XSLT2/XSL-FO1.1 classes: Austin TX,Jan-2008 World-wide corporate, govt. & user group XML, XSL and UBL training RSS feeds: publicly-available developer resources and training G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) Male Cancer Awareness Nov'07 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal