Re: [xsl] Generating implicit wrapper element

Subject: Re: [xsl] Generating implicit wrapper element
From: Ferdinand Soethe <xsl-list@xxxxxxxxxx>
Date: Tue, 30 Aug 2005 22:23:33 +0200
Michal Kay wrote:

> This prevents it working in a pipelined environment where
> the result tree that's output from the XSLT transformation is then input (in
> tree form) to another process. An example of such a pipeline is the Netscape
> browser, which is why d-o-e doesn't work on Netscape or Mozilla browsers.

This is indeed a very good reason. Thanks for pointing that out.

> In XSLT 2.0 this problem is easily solved using <xsl:for-each-group
> group-adjacent="node-name()">. It's not all that hard in 1.0 either. My
> preferred approach is sibling recursion:

And thanks so much for the sample of sibling recursion. This does
indeed look much more convincing. I'll work on understandmng the
details ...

--
Ferdinand Soethe

Current Thread