This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] Generate HTML 3.2 for displaying in Java application
- From: Thomas Singer <thomas dot singer at regnis dot de>
- To: DocBook-Apps <docbook-apps at lists dot oasis-open dot org>
- Date: Mon, 15 Sep 2003 13:24:20 +0200
- Subject: Re: [docbook-apps] Generate HTML 3.2 for displaying in Java application
- References: <03Sep15.131214cest.113311@front.sorman.com>
Hi Mauritz,
> If you want JavaHelp output, use javahelp.xsl. The generated HTML is
> not restricted to HTML 3.2 elements only, but it looks decent in the
> JavaHelp viewer.
We do not use JavaHelp, but our own JEditorPane derived HTML-3.2 viewer.
I've tried the javahelp.xsl using this ANT target:
<target name="javahelp">
<mkdir dir="${dist}/javahelp"/>
<java classname="com.icl.saxon.StyleSheet" fork="yes">
<arg value="-o"/>
<arg value="${dist}/javahelp/${document.name}.html"/>
<arg value="${src}/${document.name}.xml"/>
<arg value="${stylesheet}/javahelp.xsl"/>
<classpath>
<path refid="classpath.saxon"/>
</classpath>
</java>
<copy todir="${dist}/javahelp">
<fileset dir="${stylesheet}" includes="*.css"/>
<fileset dir="${src}" includes="**/*.png"/>
<fileset dir="${stylesheet}/xsl" includes="images/*.png"/>
</copy>
</target>
but it does not use the specified output directory (the html stylesheet
does). Instead it creates all files in the current directory.
Cheers,
Tom
Mauritz.Jeanson@sorman.com wrote:
-----Original Message-----
From: Thomas Singer [mailto:thomas.singer@regnis.de]
Sent: den 15 september 2003 12:03
To: DocBook-Apps
Subject: [docbook-apps] Generate HTML 3.2 for displaying in Java
application
Hi,
What XSL stylesheet to use for generating HTML 3.2 output using
docbook-xsl? Should I use javahelp.xsl?
If you want JavaHelp output, use javahelp.xsl. The generated HTML is not
restricted to HTML 3.2 elements only, but it looks decent in the
JavaHelp viewer.
/M
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org.