2 Replies Latest reply: May 2, 2013 4:25 AM by Santosh M E RSS

    following-sibling:

    1006115
      Hi,

      what is the significance of -following-sibling::- and -preceding-sibling::- ?
        • 1. Re: following-sibling:
          odie_63
          Hi,

          If you're going to start a thread about every single XPath features, I suggest you first go through an XPath tutorial with examples, e.g. :

          http://zvon.org/comp/r/tut-XPath_1.html

          Get back here with further questions if you don't understand a specific point.

          Thanks.
          • 2. Re: following-sibling:
            Santosh M E
            Hi,

            following-
            Identifies all nodes that appear after the current node, excluding its descendants, in document order.

            following-sibling-
            Identifies all sibling nodes that follow the current node.

            preceding-
            Identifies all nodes that appear before the current node excluding its ancestors, in reverse document order.

            preceding-sibling-
            Identifies all sibling nodes that precede the current node.