You example is a bit strange, can you look at it once again ?
On 7/5/07, alex v. <alex(_dot_)vett(_at_)gmail(_dot_)com> wrote:
hi all,
I need to group in XSLT2 'elem' that have a child 'title'.
The XML is:
<root>
<elem><title>row1</title></elem>
<elem>row2</elem>
<elem><title>row3</title></elem>
<elem><title>row4</title></elem>
<elem>row5</elem>
<elem>row6</elem>
</root>
and the result:
<root>
<elem>
<title>row1</title>
<content>row2</content>
</elem>
<elem>
<title>row3</title>
<content>row4</content>
<content>row5</content>
</elem>
</root>
I use Saxon and XSLT2.
Regards,
alex.
--~------------------------------------------------------------------
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>
--~--
--~------------------------------------------------------------------
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>
--~--