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

Subject: Re: [xsl] How to emit opening and closing tags separately
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 08 Mar 2010 09:40:36 +0000
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".


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


________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. ________________________________________________________________________


Current Thread