This chapter provides tutorial notes and example codes on output XML elements. Topics include controlling output format with the 'output' element; generating XML elements with literal XML elements, 'element' elements and/or 'copy' elements; copying verything from source to result.