You could search online to see if there is a Python add-on library that writes data to an XML file. The
string formatting page in the Vizard help shows examples of formatting in Python. The following code returns the first value (X position) in the position list:
Code:
x_pos = avatar.getPosition()[0]