Implemented a fact extractor for XML