axw.xsl

Includes

AspectX Weaver
CVS Id:
axw.xsl 138 2005-07-27 09:14:07Z ibirrer
Author:
ibirrer
Copyright:
2004, P&P Software GmbH

Parameters Summary

The default indentation that should be used for the weaving process
If set to true, intermediate woven results are saved in the temp directory

Variables Summary

No short description available

Match Templates Summary

Deciding if a file should be woven or not.
* (param: indentmode: indentElement) - source
No short description available
text()[contains(.,' ')] (param: indentmode: indentElement) - source
No short description available
* (mode: weaving) - source
Default template for not annotated code.
*[ax:advice] (mode: weaving) - source
Default template for annotated code
ax:advice (mode: weaving) - source
Default template for advices.
comment() (mode: weaving) - source
This template ensures that all XML comments are deleted

Named Templates Summary

addAtBeginOfBlock (param: node-setblock,node-setadvice) - source
This template takes a block and adds the text given in the beginning of this block
addAtEndOfBlock (param: node-setblock,advice) - source
This template takes a block and adds the text given at the end of this block
addElementsAtBeginOfBlock (param: node-setblock,elements,indent) - source
This template takes a block and adds the text given in the beginning of this block
addElementsAtEndOfBlock (param: node-setblock,elements,indent) - source
This template takes a block and adds the text given at the end of this block
weaveFile (param: node-setfile) - source
Weaves a srmML file.

Functions Summary

xw:getCodeModifierContent (param: node-setcodeModifiers) - source
Returns the string containing all text() nodes from the given sequence of codeModifiers
xw:indentElement (param: stringelement,stringindent) - source
Adds indentation to an element

Parameters Detail

The default indentation that should be used for the weaving process
Use 	 for tabs,   for spaces.
If set to true, intermediate woven results are saved in the temp directory

Variables Detail

No short description available

Match Templates Detail

Deciding if a file should be woven or not.
* (param: indentmode: indentElement) - source
No short description available
Parameters:
indent -
text()[contains(.,' ')] (param: indentmode: indentElement) - source
No short description available
Parameters:
indent -
* (mode: weaving) - source
Default template for not annotated code.
*[ax:advice] (mode: weaving) - source
Default template for annotated code
If no weaver rule is defined for any annotated srcML, this template is called, aborts the program and outputs an error message.
ax:advice (mode: weaving) - source
Default template for advices.
comment() (mode: weaving) - source
This template ensures that all XML comments are deleted

Named Templates Detail

addAtBeginOfBlock (param: node-setblock,node-setadvice) - source
This template takes a block and adds the text given in the beginning of this block
Parameters:
node-setblock - The block to add the text to
node-setadvice - The advice to be woven
addAtEndOfBlock (param: node-setblock,advice) - source
This template takes a block and adds the text given at the end of this block
Parameters:
node-setblock - The block to add the text to
advice -
addElementsAtBeginOfBlock (param: node-setblock,elements,indent) - source
This template takes a block and adds the text given in the beginning of this block
Parameters:
node-setblock - The block to add the text to
elements -
indent -
addElementsAtEndOfBlock (param: node-setblock,elements,indent) - source
This template takes a block and adds the text given at the end of this block
Parameters:
node-setblock - The block to add the text to
elements -
indent -
weaveFile (param: node-setfile) - source
Weaves a srmML file.
Parameters:
node-setfile - A srcML file.

Functions Detail

xw:getCodeModifierContent (param: node-setcodeModifiers) - source
Returns the string containing all text() nodes from the given sequence of codeModifiers
The markup with codeModifier and text elements is transformed to newlines.
Parameters:
node-setcodeModifiers - Sequence of codeModifier elements
xw:indentElement (param: stringelement,stringindent) - source
Adds indentation to an element
Parameters:
stringelement - The text the indentation should be added to.
stringindent - String that is used for indentation.