The GutRead utility will read texts from the Gutenberg Project and remove all the newlines saving hours of editing in your word processor. It will also produce the text in XML format.
Research Description Language (RDL) is an XML application for describing and publishing scientific research efforts. Research Editor (REd) is a tool for editing RDL documents, and exporting them to LaTeX, PDF, etc.