First see s c h e m a t i c s : c o o k b o o k. Then see: - Introduction to metaprogramming - Using XML and XSL for code generation - Replacing reflection with code generation