Subject: another grouping question
From: M Balaji <msbalaji82@xxxxxxxxx>
Date: Tue, 9 Jun 2009 16:45:36 +0530
|
Hi All,
In a "current-group()" I'm getting
<p>Group strats here</p>
<div>testing for division</div>
<p>It seeks to improve upon DTDs...</p>
<p>groupin should be end here</p>
<title>title</title>
<sec>The selection need to be end</sec>
I wand to group the "p" tag until last "p" tag.
<group><p>Group strats here</p>
<div>testing for division</div></group>
<group>
<p>It seeks to improve upon DTDs...</p>
</group>
<group>
<p>groupin should be end here</p>
</group>
<title>title</title>
<sec>The selection need to be end</sec>
I tried <xsl:sequence
select="group:p(current-group()[self::p][last()])"/>, but I'm getting
only the last "p" tag.
How do I correct my sequence statemnt.
Thanks in Advance,
Balaji. M
|