Adding xml rendering