Some utilities for xml reading.