• Quick thought, although not too efficient Jacob's xmlTable function could be what you are looking for.

    😎