changed to pointer style xml struct def