Example code ============ Following is a complete example how to create a METS document with METS builder: .. literalinclude:: example_code.py :language: Python