According to my Google results, that book was published in January 2004, and therefore is outdated. Avalon and the XAML syntax it uses has changed quite a bit since then. Make sure any examples you are looking at are no older than May 2005 since thats
the last release of Avalon with major syntax changes (particularly in styles). Older examples may work, but they may be outdated as well.