[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

possible? for-each-group inside a for-each-group

Subject: possible? for-each-group inside a for-each-group
From: "Klocker Christoph" <Christoph.Klocker@xxxxxxxxxxxxx>
Date: Wed, 2 Mar 2005 12:37:49 +0100
for each group
Hi,

I am trying a for-each-group inside another one, is this possible, or do I
have to do this in two following transformations??

I tried following stylesheet. Thought about adding a current-group() inside
the group-ending-with statement, didn't work either.

<tatbestand>
	<xsl:for-each-group
select="par[@class='Entsch_normal'][not(inline[@class='*Gesetzesstelle'])]"
group-starting-with="par[@class='Entsch_normal'][inline[@class='*fett']]">

		<xsl:for-each-group select="*"
group-ending-with="par[@class='Entsch_normal'][inline[@class='*fett']]">
	<xsl:apply-templates select="current-group()"/>
		</xsl:for-each-group>
	</xsl:for-each-group>
</tatbestand>

My XML structure is something like:

<par class="Entsch_normal"><inline class="*fett">Sachverhalt: </inline>Die Bf
beantragte mit der Anmeldung vom 7. 9. 1999 die Ausfuhr von 21 Paletten
Fleisch von <par>
  <par class="Entsch_normal">Die Ausfuhr aus dem Zollgebiet der Gemeinschaft
erfolgte |ber das Zollamt B am 7. 9. 1999.</par>
  <par class="Entsch_normal">Mit B vom 19. 10. 1999 gewdhrte das Zollamt
S/Erstattungen der Bf eine Ausfuhrerstattung iHv 140.863 S (10.236,91
).</par>
   <par class="Entsch_normal"><inline class="*fett">Erkenntnis:</inline>
<inline class="*kursiv">Abweisung</inline> als unbegr|ndet.</par>
    <par class="Entsch_normal"><inline class="*fett">Entscheidungsgr|nde:
</inline>Im Beschwerdefall erf|llten diese nicht die Voraussetzungen f|r die
Gewdhrung der differenzierten Erstattung.</par>
  <par class="Entsch_normal">Der Nachweis durch die in Art 16 Abs 1 der
genannten VO angef|hrten Urkunden zu erbringen.</par>

Where I need everything before the "Erkenntnis:"

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.