xmldemo: Adapt to Rust changes