Re: [xsl] How to emit opening and closing tags separately

Subject: Re: [xsl] How to emit opening and closing tags separately
From: Wolfgang Laun <wolfgang.laun@xxxxxxxxx>
Date: Mon, 8 Mar 2010 11:23:39 +0100
On 3/8/10, David Carlisle <davidc@xxxxxxxxx> wrote:
> On 08/03/2010 08:29, Wolfgang Laun wrote:
>
> Never mention the T-word on xsl-list!
>
> XSLT does not process tags, it has no access to the tags in the original
> document or generates tags in the result.
> It ooperates on a node tree generated by the parser and generates a node
> tree in teh result. You can not have "half a node".

All right, all right - I think I gave some indications that I'm aware
of all that.

The problem with grouping is that the input is just lines of texts,
wrapped in an element, and the only attribute there is a time stamp.
The data results from a test system that itself is currently under
development, so that the groups aren't stable, or they may not be well
formed etc.

But I'll advance to grouping as soon as I can trust my input ;-)

Thanks
-W

>
> Don't express your pronlem in terms of the boundary between one group
> and another, specify what property makes elements go in the same group
> for exanple have same value of some attribute (grouping by value) or
> every 100 nodes goes in the same group 9grouping by position. Then you
> can select groups of nodes at a time and generat the result. using
> xsl:for-each-group in xslt2 or a grouping idiom such as muenchian
> grouping (google) IN XSLT 1.
> David

Current Thread