Subject: RE: [xsl] following-sibling::input and preceding-sibling::input From: "Andrew Welch" <ajwelch@xxxxxxxxxxxxxxx> Date: Mon, 21 Jun 2004 12:43:19 +0100 |
> Hi all, > > Got a question regarding following-sibling::input and > preceding-sibling::input. > > Do they check if the immediate following/preceding sibling is > of type 'input'? > > If they do not, then how do I check if the immediate > following/preceding sibling is of type 'input'? > > Sorry, I think I mis-read the documentation... follow-sibling::input will return true if any of the following siblings are an <input> element. To check if the immediate following-sibling is an input, you would need following-sibling::*[1][self::input] cheers andrew
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] following-sibling::input and , Daniel Joshua | Thread | Re: [xsl] following-sibling::input , Josh Canfield |
RE: [xsl] format number with change, James Steven | Date | RE: [xsl] Best namespace attribute , Stephen Tredrea |
Month |