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

Re: [xsl] [xslt] enhance match condition for next node referance


Subject: Re: [xsl] [xslt] enhance match condition for next node referance
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 19 Mar 2009 15:30:13 GMT

> "following-sibling::node()[1][self::exit]".

unless you are stripping white space on input, that needs to be

"following-sibling::*[1][self::exit]"

as otherwise the following node will be the white space text node
indenting <exit/>.

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