• One possible modification that you might want to make is to change this:

    d2.Color AS [text()]

    to this:

    d2.Color AS [data()]

    That way your items would have a space between them instead of being run together in a continuous string.