Subject: RE: [xsl] following vs following-sibling From: "McKeever, Marty" <marty.mckeever@xxxxxxxxxxxxxxxxx> Date: Fri, 28 Dec 2001 10:09:47 -0500 |
I've been puzzled by a similar question. Although i've never used 'following::node()', the times that i've used 'following-sibling::node()' it appeared to return all nodes after the context node, regardless of genealogy. I would have thought that a sibling element MUST have the same parent as the context node, but that doesn't appear to be the case. Or am i missing something... > -----Original Message----- > From: Yan Zhu [mailto:yan.zhu@xxxxxxxxxxxxxxxxxxxxxx] > Sent: Friday, December 28, 2001 9:52 AM > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: [xsl] following vs following-sibling > > > > Is there a difference between the two? I thought > they are the same but: > > I tried: > > <xsl:value-of select="following::url"/> > > which worked, but this: > > <xsl:value-of select="following-sibling::url"/> > > returns nothing while there is a following node, so > they do behave differently? > > thanks > > 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Antenna House XSL Formatter V, Tokushige Kobayashi | Thread | Re: [xsl] following vs following-si, Jeff Kenton |
[xsl] following vs following-siblin, Yan Zhu | Date | Re: [xsl] following vs following-si, Jeff Kenton |
Month |