This should enable us to use string variables as xpath indices
(blabla/attachments[$variable]) and save us a costly operation in the
engine, during assign.