IfTrue - is method for ASCX transformation type, for text xml tranformaiton type you should use macro expressions:
{%
result = "";
if (!String.IsNullOrEmpty(ButtonUrl))
{
target = String.IsNullOrEmpty(ButtonUrlTarget) ? "" : " target='_blank' ";
result = "<a href='" + ButtonUrl + "' " + target + " class='button'>" + ButtonName + "</a>";
}
result = "<section>" + result + "</section>";
if (UseFeature.ToLower() == "yes") { return result; }
|(identity)GlobalAdministrator%}