Added another AppendTagAttribute function