Formatting Objects describe how to render documents in a device independent way. Usually FO documents, (which are also XML) are generated by an XSL transformation. The FO documents can be passed to a FOProcessor that transforms them into PDF, PS, TXT or other displayable format.
You can read more about this at: http://www.ibiblio.org/xml/books/bible2/chapters/ch18.html