OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook] Function prototype comments

On Sunday 16 October 2005 17:47, Russell Shaw wrote:
> [...]
> How evolving is the docbook standard? Could new things be added like:
> <funcprototype>
>    <paramdef>char *<parameter>a</parameter>[]</paramdef>/* comment */
>    <paramdef>char *<parameter>a</parameter>[]</paramdef><para>/* para
> comment */</para> </funcprototype>

According to [1] the content modell doesn't allow this:

funcprototype ::=

However, if you use DocBook NG you could use the attribute annotations in 
paramdef to insert your comment. But you need probably customize the 


[1] http://www.docbook.org/tdg/en/html/funcprototype.html

Thomas Schraitle

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]