This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: silbings


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]