On 18/07/06, Kyle Hamilton <[EMAIL PROTECTED]> wrote:
As I said, I'd prefer ANSI notation, but as long as the parameters are
fully specified in the documentation I'll deal. :)
Input
<article>
<section>
<title>Funcparams test</title>
<funcsynopsis>
<funcprototype>
<funcdef>void <function>qsort</function></funcdef>
<paramdef>void *<parameter>dataptr</parameter>[]</paramdef>
<paramdef>int <parameter>left</parameter></paramdef>
<paramdef>int <parameter>right</parameter></paramdef>
<paramdef>int (*<parameter>comp</parameter>)
<funcparams>void *, void *</funcparams></paramdef>
</funcprototype>
</funcsynopsis>
</section>
</article>
Stylesheet, which calls up the basic docbook, and sets
a parm for what you want
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xdt="http://www.w3.org/2005/02/xpath-datatypes"
version="1.0">
<xsl:import href="/sgml/docbook/docbook-xsl/html/docbook.xsl"/>
<xsl:output method="xml"/>
<xsl:template match="/">
<xsl:apply-templates/>
</xsl:template>
<xsl:param name="funcsynopsis.style">ansi</xsl:param>
</xsl:stylesheet>
output
Funcparams test
void qsort( void * dataptr[],
int left,
int right,
int (* comp) (void *, void *));
HTH
--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [email protected]
Automated List Manager [EMAIL PROTECTED]