You are viewing a plain text version of this content. The canonical link for it is here.
Posted to alexandria-dev@jakarta.apache.org by Andy Pruitt <ra...@earthlink.net> on 2002/09/20 03:55:58 UTC
JavaDoc to XML to PDF
I have a working Javdoc -> PDF system. It seems like Alexandria would be a
natural place to put it; I would like to donate it.
The system consists of a doclet that outputs the Javadoc as an XML file, and
a stylesheet that converts that file to XSL FO. You can then use FOP to
render the FO as PDF. I based the doclet on the XML doclet that is ( around
here somewhere? ); there is no dependency on the Sun XML doclet.
The XSL FO transform works well on my Javadoc, but I would like to see it
run against some other code bases in order to refine it further.
I'm including an example of the PDF output and the Javadoc XML file that
generated it.
andy pruitt
Re: JavaDoc to XML to PDF
Posted by Peter Donald <pe...@apache.org>.
On Fri, 20 Sep 2002 11:55, Andy Pruitt wrote:
> I have a working Javdoc -> PDF system. It seems like Alexandria would be a
> natural place to put it; I would like to donate it.
>
> The system consists of a doclet that outputs the Javadoc as an XML file,
> and a stylesheet that converts that file to XSL FO. You can then use FOP
> to render the FO as PDF. I based the doclet on the XML doclet that is (
> around here somewhere? ); there is no dependency on the Sun XML doclet.
>
> The XSL FO transform works well on my Javadoc, but I would like to see it
> run against some other code bases in order to refine it further.
>
> I'm including an example of the PDF output and the Javadoc XML file that
> generated it.
Sounds great - would love to see a sample ;)
--
Cheers,
Peter Donald
A right is not what someone gives you; it's what no one can take from you.
-- Ramsey Clark
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>