Subject: Re: [xsl] preceding/following character? From: David Carlisle <davidc@xxxxxxxxx> Date: Fri, 17 Jun 2005 11:40:07 +0100 |
> ><xsl:when test="preceding-sibling::bar[1]"> > > > AFAICT, that tests whether there's at least 1 bar among preceding siblings, > rather than whether the immediately preceding sibling is a bar. Likewise > the following sibling test below. yes you want preceding-sibling::node()[1][self::bar] following--sibling::node()[1][self::text()] etc 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] preceding/following chara, Aron Bock | Thread | RE: [xsl] preceding/following chara, Andrew Welch |
Re: [xsl] Anybody know when "transf, Peter Gerstbach | Date | RE: [xsl] preceding/following chara, Michael Kay |
Month |