The EDXML SDK features several components for producing EDXML data, all based on the excellent lxml library. Data generation is incremental, which allows for developing efficient system components that generate or process EDXML data in a streaming fashion.
The EDXMLWriter class is the prime, low level EDXML generator. For most practical use cases a transcoder <transcoding>
offers a superior means for generating EDXML data.
Using the EDXML writer is pretty straight forward, as the following example demonstrates:
../edxml/examples/event_writer.py
edxml.EDXMLWriter