Mark Nijhof on using WPF data binding to create XPS documents from templates.