The XML Editor contains the XML for the process diagram. Changes made in the Diagram Editor or in the XML Editor are reflected in the other. When importing or downloading a process the .bpmn20.xml file will reflect what is in the XML Editor.
XML excerpts are provided as examples with each BPMN element.