Inserted code for person xml writer