Add standalone attribute to xml tag