Hi there,
I am trying to get the next generated id for "question" by the following formula:
concat(local-name(..), "_", count(preceding-sibling::*[local-name() = "question"]) + 1)
Somehow the above code only returns:
question_1
question_1
however, I want the output as below:
question_1
question_2
.......
Could you please help me in correcting my above formula.
Thanks,