xml decoder