[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: How to emit opening and closing tags separately
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|