- added xml serialization example
- improved xml reading