$ 0 0 Why not keep the rows as an enumerated list and then have a render method that does the xml serialization at the end. That should increase performance handsomely.