Misprints and one bug are fixed.

Great work!!! 
Thank you very much, I've looked for such a library for a long time.

Please, take a look at xmlns bugfix 22b0899fcf3e35194cc5e16955443d81ad735218,  that is worth as I think.