I wonder if anyone knows how to get a specified amount of elements for following-siblings or preceding-siblings functions in XPath and XSLT (e.g. I only need 2 elements of the following siblings of the current element).
Share
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.
Use an expression of the following form:
For example, to get the 3 siblings following
<c/>in the following document:Use the following expression: