Implement XMLReader::expand()