implement basic xml parsing for reuters.xml