i have used the code to covert my Gnote(C++ porting of tomboy) notes to evernote.
it's wonderful. but i found the following issue.
the html special chars like <, > in the title field(not converted) will be a problem on importing.
the Evernote will raise import error and fail there.
i have to edit the enex file manually on ever fail.
after that it was imported successfully.