[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Revision Marking in HTML


Subject: Re: [xsl] Revision Marking in HTML
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 3 May 2005 12:31:22 +0100

> Holy cr*p.  This is going to be long and involved isn't it?

Not really, The code I posted is just about all you need. 

> Is it any easier in XSLT 2.0? 

You could use the new for-each-group construct with a group-adjacent
attribute which is probably a bit more readable but not that much
shorter. (but since you are only talking about a dozen or so lines
anyway, half of which are element closing, it's hard to be _that_ much
shorter.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________


Current Thread
Keywords