xsl-list
[Top] [All Lists]

[xsl] another grouping question

2009-06-09 07:16:03
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

--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>