Actually, now that I look at it more, it looks like there are subtle differences in the XML each time. If it becomes too much of a pain to make this a template, then leave it as it is. Readability is more important than not repeating code in this case.