fixes #4 - stripping xml declaration in input
Merge pull request #6 from balmas/master

fixes #4 - stripping xml declaration in input