Subject: Re: [xsl] following vs following-sibling From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Fri, 28 Dec 2001 11:56:07 -0500 |
Cheers, Wendell
.. Date: Fri, 28 Dec 2001 08:52:24 -0600 .. From: Yan Zhu <yan.zhu@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? ..
following-sibling is a subset of following. following-sibling gets you only the children of the same parent as the current node; following gets all those plus their descendents.
--jeff
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] following vs following-si, Jeff Kenton | Thread | Re: [xsl] following vs following-si, Yan Zhu |
Re: [xsl] Re: Assignment no, dynami, Gunther Schadow | Date | [xsl] Extended chars problem..., Casadome, Francisco |
Month |