HeaderList is widened in scope, attempt at getting XML parsing to work