This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: sibling axis: can't restrict
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: sibling axis: can't restrict
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Fri, 6 Oct 2000 18:31:52 +0100
- Reply-To: xsl-list at mulberrytech dot com
> -----Original Message-----
> From: Pollington, Lee (ELSLON) [mailto:lee.pollington@biomednet.com]
> Sent: 06 October 2000 14:45
> To: 'xsl-list@mulberrytech.com'
> Subject: sibling axis: can't restrict
>
>
> I saw a previous sibling axis question, but am still stumped
> on this.
> <xsl:when test="following-sibling::ead[1]">
This tests whether there is a following-sibling <ead> element. To test
whether the first following sibling element is an <ead>, use:
<xsl:when test="following-sibling::*[1][self::ead]">
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list