I see no reason those XHP templates couldn't just be cached as regular old PHP. It's a nice tool to have during development only.
Not that I regard PHP a particularly HL language
Going from one HLL to another if you never plan to look at or change the generated code is significantly easier than going to machine code. Just look at all the compilers that target C.