The paper describes the design of a generation component for a spoken dialogue system. After discussing three existing models of generation, a model based on new information focus is adopted. The design uses a pipeline architecture implemented in XML and Java. XSL templates are used to give a flexible form of template-based generation.