Update example.py

Minor changes to test xml generation.