Updated data passing to pointers and add tinyxml for testing.