Select the second to last item in a list with Xpath

Use xpath to select the second to last item in an array or list.

You can use last() which represents the last item in the context: