This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] Generate HTML 3.2 for displaying in Java application


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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]