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[(_at_)class='Entsch_normal'][not(inline[(_at_)class='*Gesetzesstelle'])]"
group-starting-with="par[(_at_)class='Entsch_normal'][inline[(_at_)class='*fett']]">
<xsl:for-each-group select="*"
group-ending-with="par[(_at_)class='Entsch_normal'][inline[(_at_)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 gewährte 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
Gewährung 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:"
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--