The odfWeave package does sweave using OpenOffice files instead of LaTeX files.
The .odt files are XML based I believe. If you still want to expand to docbook,
looking at the code of odfWeave should at least get you started.
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.snow at imail.org
801.408.8111
> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of Sean Davis
> Sent: Saturday, October 25, 2008 1:19 PM
> To: r-help at r-project.org
> Subject: [R] Docbook equivalent of Sweave
>
> I have been looking a bit at docbook as an alternative to latex.
> However, Sweave is a very nice way to deal with documents mixing R
> code, figures, and text as well as markup. I saw a couple of
> references in the email archives that people have been experimenting
> with combinations of tools (including Sxslt). Is anyone willing to
> share their thoughts and practices in basically replacing the
> functionality of Sweave and Latex with an xml-based solution like
> docbook?
>
> Thanks,
> Sean
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-
> guide.html
> and provide commented, minimal, self-contained, reproducible code.