A simple example of rendering XML to a WPF FlowDocument.

See here for more details: http://chriscavanagh.wordpress.com/2008/11/02/rendering-xml-as-a-flowdocument/