|
[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
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:"
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








