-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 05 November 2004 14:51, E.L. Willighagen wrote: > > > Ok, my next step will be to convert this XML output to DocBook XML... > > > > super. > > Will let you know when I got it working...
Ok, I now got a basic XSLT stylesheet (below) that converts bits of the documentation into DocBook XML. I've commited the new source to CVS. The stylesheet includes the command name (<cmdname>), it's decription (<cmddescription>) and the examples. Will do the definitions later... Egon PS. For those interested, here's the current XSLT: <?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml" omit-xml-declaration="yes"/> <xsl:template match="jmolcmd"> <section> <title><xsl:value-of select="cmdname"/></title> <para> <xsl:value-of select="cmddescription"/> </para> <xsl:apply-templates select="cmdexamples"/> </section> </xsl:template> <xsl:template match="cmdexamples"> <variablelist><title>Examples</title> <xsl:for-each select="cmdexample"> <varlistentry> <term><xsl:value-of select="cmdoption"/></term> <listitem> <para> <xsl:value-of select="cmdlistidescription"/> </para> </listitem> </varlistentry> </xsl:for-each> </variablelist> </xsl:template> </xsl:stylesheet> - -- [EMAIL PROTECTED] - --------------------------------------- CDK: http://cdk.sf.net/ JChemPaint: http://jchempaint.sf.net/ Jmol: http://www.jmol.org/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (SunOS) iD8DBQFBi40Pd9R8I9Yza6YRAvrPAJ9YNZIqmvfjRsX+/A1vvKL0lHk3AQCfZR3C wV+RL9OzElHfg54mzgS3K+Q= =cEkY -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Jmol-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jmol-developers
