I think you are mixing transformation types here:
- if you are using ACSX transformation
<%# GetSearchValue("DocumentTags")%>
will work
- in text/xml
{%GetSearchValue("DocumentTags")%}
- will not work, but {%DocumentTags%}
will
If you are using text/xml, you do this (assuming DocumentTags = 'abc, cde, xyz'):
{%
arr = DocumentTags.split(",").Flatten();
arr.Transform("<a href='/someulr?tag={#arr[DataItemIndex]#}'>{#arr[DataItemIndex]#}</a>");
|(identity)GlobalAdministrator%}