Michael,
I think an better representation of data that can be manipulated in a template in OpenACS is a multirow datasource. XML is good for exchanging data between systems (as one of many possible inerchange formats), but for use within OpenACS it is not really necessary.