xsl-list
[Top] [All Lists]

Re: [xsl] Merging elements

2011-10-27 04:19:06
I've been looking at the problem for too long and have a horribly complex set 
of grouping statements that applied in a multiple mode stylesheet. I'm 
convinced that there's a simpler way to do this but I think that I can't see 
the wood for the trees. Does anyone have an elegant way to do this?


Use 'sibling recursion', similar to the identity template but it
traverses the following-sibling axis... then add a specific template
for the span which does the grouping (by checking if the immediate
following sibling element is also a span)



-- 
Andrew Welch
http://andrewjwelch.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>
--~--

<Prev in Thread] Current Thread [Next in Thread>