I am try to find if a certain node has siblings, and if it does, I would like to know what those siblings are.
Is this possible?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In order to select a node’s siblings, you have to use the corresponding XPath axe. Here is how to select all a node’s siblings (ignoring the node itself)
That’s all you have to do.