definitions and testes to Libxmljs #257
Merge pull request #296 from Diullei/master

definitions and testes to Libxmljs #257