Creating XML as output template

I’m creating a service which takes a record list (QUESTIONS) which has one field (QUESTION) and one string variable (DUEDATE) and inserts the variables into the XML template specified on the settings tab.

My XML looks like this:

<?xml version="1.0" encoding="utf-8" ?>



%value DUEDATE%

%value QUESTION%


But when I try to run this in the browser none of the variables appear and the tag %value QUESTION% doesn’t even appear. Am I doing something wrong? I’m quite new to this type of service so bear with me.

Any suggestions are appreciated.

The following link is useful