This diagram shows the syntax for the function SYS_XMLGEN. The syntax is explained in the text before the diagram and illustrated with an example after the diagram.