Fixed XML reader behaviour (#17)

+ Documentation