<
xsl:
stylesheet xmlns:WeaveComment="
java:ifa.xweaver.WeaveComment"
xmlns:src="
http://www.sdml.info/srcML/src"
xmlns:xsl="
http://www.w3.org/1999/XSL/Transform"
version="
2.0">
<
xsl:
output method="
text"
encoding="
ISO-8859-1" />
<
xsl:
preserve-space elements="
*" />
<!---->
<
xsl:
template match="
/src:unit">
<!---->
<
xsl:
apply-templates />
<!---->
</
xsl:
template>
<!---->
<
xsl:
template match="
text()">
<
xsl:
value-of select="
." />
</
xsl:
template>
<!---->
<
xsl:
template match="
*">
<
xsl:
apply-templates />
</
xsl:
template>
<!---->
<
xsl:
template match="
comment()" />
<!---->
<
xsl:
template match="
advice">
<
xsl:
message>
WARNING: The following advice '<
xsl:
value-of select="
@name" />
' was not treated
by the weaver! </
xsl:
message>
</
xsl:
template>
</
xsl:
stylesheet>
v