Add loopvar() xpath helper.