This diagram is explained in the text. It explains the calling sequence for DBMS_XMLGEN. The calling sequence is more accurately stated in the text directly following the diagram.