Next in thread → Next in month →

Re: [docbook-apps] methodsynopsis - const method in c++

From
Anup Rav <>
Date
2005-08-08T14:21:25+00:00
ID
Thread
Re: [docbook-apps] methodsynopsis - const method in c++
You need to customize the template in synop.xsl file.

> Would it be possible to create a post_modifiers variable by getting any
> modifiers after the last "methodparam" in the methodsynopsis node and a
> pre_modifiers for all before the "methodname"? If so any hints on how to
> do this would be appreciated.


<xsl:template mode="cpp"
  match="constructorsynopsis|destructorsynopsis|methodsynopsis">
  <xsl:variable name="pre_modifiers"
select="methodname/preceding-sibling::modifier"/>
  <xsl:variable name="post_modifiers"
select="methodparam/following-sibling::modifier"/>

......
.....
....
</xsl:template>
-- 
Regards,
Anup Rav.
Next in thread → Next in month →