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: 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 |
- Re: even and odds, (continued)
- Yan Zhu - Fri, 21 Dec 2001 22:10:24 -0500 (EST)
- Yan Zhu - Sat, 22 Dec 2001 08:57:46 -0500 (EST)
- Michael Kay - Sat, 22 Dec 2001 09:27:45 -0500 (EST)
- Yan Zhu - Sat, 22 Dec 2001 11:11:04 -0500 (EST)
- Yan Zhu - Sat, 22 Dec 2001 11:57:12 -0500 (EST) <=
- Oleg Tkachenko - Sat, 22 Dec 2001 12:25:26 -0500 (EST)
- Yan Zhu - Sat, 22 Dec 2001 15:03:22 -0500 (EST)
Gunther Schadow - Fri, 21 Dec 2001 13:03:36 -0500 (EST)
|
|