xsl-list
[Top] [All Lists]

Re: Revision Marking in HTML

2005-05-03 06:00:53

Hi David,

I could not get the node walker method to work.  Maybe I will be able to if
I spend more time on it, but I don't have any at the moment.

I changed it back to the old way (if it ain't broke, don't fix it!) and I
will revisit it when we move to 2.0.

Thanks for all your help.  I hope know one feels like I wasted their time.

Nadia Swaby



                                                                                
                                             
                      David Carlisle                                            
                                             
                      <davidc(_at_)nag(_dot_)co(_dot_)u         To:      
xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com                                
      
                      k>                       cc:                              
                                             
                                               Subject: Re: [xsl] Revision 
Marking in HTML                                   
                      2005-05-03 07:31                                          
                                             
                      Please respond                                            
                                             
                      to xsl-list                                               
                                             
                                                                                
                                             
                                                                                
                                             





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
________________________________________________________________________

--~------------------------------------------------------------------
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>
--~--






--~------------------------------------------------------------------
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>