RE: [xsl] silbings

Subject: RE: [xsl] silbings
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Sat, 22 Dec 2001 18:10:45 -0000
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@xxxxxxxxxxxxxxxxxxxxxx]
> Sent: 22 December 2001 16:59
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx; michael.h.kay@xxxxxxxxxxxx
> 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@xxxxxxxxxxxxxxxxxxxxxx
> > > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Yan Zhu
> > > Sent: 22 December 2001 14:00
> > > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> > > 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


Current Thread