Templates populated with maxoccurs and subHeadings