@xlinkpaths = map {/xlink (.+?) / ? $1 : ()} @xlinks;