This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: following vs following-sibling
- From: "McKeever, Marty" <marty dot mckeever at bankofamerica dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Fri, 28 Dec 2001 12:25:07 -0500
- Subject: RE: [xsl] following vs following-sibling
- Reply-to: xsl-list at lists dot mulberrytech dot com
> -----Original Message-----
> From: Wendell Piez [mailto:wapiez@mulberrytech.com]
>
> There's absolutely a difference between the following-sibling
> and following
> axes (as any reference book will tell you :-).
>
> If they're not working as expected, why not post the relevant
> bit of your
> source document? with the offending bit of stylesheet so we
> can explain
> what it's really doing and why you should expect that.
After my earlier post i did run a test case and found that i was wrong and
posted too hastily. Following-sibling:: worked exactly as it should have.
So now i'm trying to remember which stylesheet gave me the wrong impression
to begin with so i can go see what i did wrong. I suspect i just typed
following by mistake when i meant following::sibling. I remember adding
some convoluted IF statements to exclude the non-siblings... sigh... i'll
find it sooner or later ;)
Thanks!
Marty
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list