This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: silbings
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <yan dot zhu at infinity-insurance dot com>, <xsl-list at lists dot mulberrytech dot com>, <michael dot h dot kay at ntlworld dot com>
- Date: Sat, 22 Dec 2001 18:10:45 -0000
- Subject: RE: [xsl] silbings
- Reply-to: xsl-list at lists dot mulberrytech dot com
Perhaps you really want to know if there is a following-sibling *element*,
in which case the test is if test="following-sibling::*"
Mike Kay
> -----Original Message-----
> From: Yan Zhu [mailto:yan.zhu@infinity-insurance.com]
> Sent: 22 December 2001 16:59
> To: xsl-list@lists.mulberrytech.com; michael.h.kay@ntlworld.com
> Subject: Re: [xsl] silbings
>
>
> hmm, didn't work. :(
>
> I tried both following-sibling and following::, the test
> is always positive regardless of whethere there is a node
> or not.
>
>
> Michael Kay wrote:
>
> > xsl:if test="following-sibling::node()"
> >
> > Mike Kay
> >
> > > -----Original Message-----
> > > From: owner-xsl-list@lists.mulberrytech.com
> > > [mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Yan Zhu
> > > Sent: 22 December 2001 14:00
> > > To: xsl-list@lists.mulberrytech.com
> > > Subject: [xsl] silbings
> > >
> > >
> > >
> > > is there a way to find out if a node has a silbing or not?
> > > Actually, let me rephrase that, is there a way to find out
> > > if a node has a following silbling node? so when you use
> following::
> > > something would be ganranteed to be there.
> > >
> > > thanks in advance.
> > >
> > > yan
> > >
> > >
> > > XSL-List info and archive:
> http://www.mulberrytech.com/xsl/xsl-list
> > >
> > >
> >
> > XSL-List info and archive:
> http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list