MathWebSearch / mws

MathWebSearch Implementation
https://search.mathweb.org/
GNU General Public License v3.0
46 stars 12 forks source link

Port getHarvestFromDocument() to LibXml2 xmlwriter #14

Closed cprodescu closed 10 years ago

cprodescu commented 10 years ago

Currently getHarvestFromDocument() generates a set of XML strings which are concatenated to obtain the final harvest. Instead, this should be handled through an xmlTextWriter() and the writerContext should be passed to getHarvestFromDocument (which would become more of a writeDocumentToHarvest()).

[1] http://xmlsoft.org/html/libxml-xmlwriter.html

cprodescu commented 10 years ago

Closing, as this is minor and the real issue was fixed with #20