← Prev in month ← Prev in thread

methodsynopsis - const method in c++

From
Simon Kennedy <>
Date
2005-07-15T11:01:46+00:00
ID
Thread
methodsynopsis - const method in c++
How can I stop the stylesheets from lumping all the modifiers for a 
methodsynopsis at the start of the html output?

i.e. virtual = 0 method(param...)

instead of

virtual method(param...) = 0

Is anyone working on this?

it appears that this is done in the

<xsl:template mode="cpp" 
match="constructorsynopsis|destructorsynopsis|methodsynopsis">
  <xsl:variable name="modifiers" select="modifier"/>
  <xsl:variable name="notmod" select="*[name(.) != 'modifier']"/>

template in synop.xsl

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.

Many Thanks
Simon Kennedy

	
	
		
___________________________________________________________ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com
← Prev in month ← Prev in thread