I've sent you a PM. As it states the canonical text on compilers is "Compilers: Principles, Techniques and Tools". It uses Java for it's examples.
If you want something that's a little more hands on there's
Let's Build a Compiler
This tends to focus on single pass compiling though so it's more difficult to apply it to an XML parser. It's also written in Pascal which might be a problem if you don't know Pascal.