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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

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


Subject: 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.


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