[xsl] grouping problem

Subject: [xsl] grouping problem
From: "Szabo, Patrick \(LNG-VIE\)" <patrick.szabo@xxxxxxxxxxxxx>
Date: Fri, 2 Apr 2010 11:50:48 +0200
Hi,

I'm using XSLT 2.0 and Saxon 9.

I've got the following structure:

<rechtliche-begruendung>
    <ueberschrift>GrC<nde:</ueberschrift>
    <absatz>I.</absatz>
    <rz-zaehlung>1</rz-zaehlung>
    <absatz>blabla</absatz>
    <rz-zaehlung>2</rz-zaehlung>
    <absatz>blabla</absatz>
    <absatz>I.</absatz>
    <rz-zaehlung>3</rz-zaehlung>
    <absatz>blabla</absatz>
    <absatz>blabla</absatz>
    <rz-zaehlung>4</rz-zaehlung>
    <absatz>blabla</absatz>
    <absatz>II.</absatz>
    <rz-zaehlung>5</rz-zaehlung>
    <absatz>blabla</absatz>
</rechtliche-begruendung>

It should look like this after grouping:

<rechtliche-begruendung>
    <ueberschrift>GrC<nde:</ueberschrift>
    <absatz>I.</absatz>
    <randziffer>
	      <rz-zaehlung>1</rz-zaehlung>
	  	<absatz>blabla</absatz>
    </randziffer>
    <randziffer>
	      <rz-zaehlung>2</rz-zaehlung>
	    	<absatz>blabla</absatz>
    </randziffer>
    <absatz>I.</absatz>
    <randziffer>
		<rz-zaehlung>3</rz-zaehlung>
    		<absatz>blabla</absatz>
	      <absatz>blabla</absatz>
    </randziffer>
    <randziffer>
		<rz-zaehlung>4</rz-zaehlung>
	      <absatz>blabla</absatz>
    </randziffer>
    <absatz>II.</absatz>
    <randziffer>
		<rz-zaehlung>5</rz-zaehlung>
	      <absatz>blabla</absatz>
    </randziffer>
</rechtliche-begruendung>

So a group is starting with rz-zeahlung.
The problem is that i don't want to have those <absatz> elements in the groups
that
contain roman numbers...

Can anybody help me ?!

best regards

Patrick Szabo
 XSLT-Entwickler

Tel.: +43 (1) 534 52 - 1573
Fax: +43 (1) 534 52 - 146

Patrick.Szabo@xxxxxxxxxxxxx

LexisNexis Verlag ARD Orac GmbH & Co KG
Marxergasse 25, 1030 Wien
FN 8333f, Handelsgericht Wien
http://www.lexisnexis.at/

Current Thread