Creating ROMANCARTXML dynamically from current cart contents based on template