<
aspect xmlns:src="
http://www.sdml.info/srcML/src"
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
xmlns="
http://control.ee.ethz.ch/XWeaver/AspectX"
xsi:schemaLocation="
http://control.ee.ethz.ch/XWeaver/AspectX ../../../../src/xsd/aspectX.xsd"
name="
Add_HTML">
<
description>
This aspect tests weaving rule <
code>
comment_end_comment</
code>
. This aspect in particular
tests weaving of Java-doc like comments. The inserted comments also contain HTML code.
<
author>
I. Birrer</
author>
</
description>
<
advice type="
end"
name="
addCommentFoo">
<
description>
Adds four lines at the end of all existing comments.
</
description>
<
pointcut type="
src:comment" />
<
codeModifier type="
comment">
<
xsl>
<
h1>
Adding HTML</
h1>
<
ul>
<
li>
List1</
li>
<
li>
List2</
li>
</
ul></
xsl>
<
text>
@html true</
text>
</
codeModifier>
</
advice>
</
aspect>
v