<
xsl:
stylesheet xmlns:xsl="
http://www.w3.org/1999/XSL/Transform"
xmlns:xd="
http://www.pnp-software.com/XSLTdoc"
xmlns:ax="
http://control.ee.ethz.ch/XWeaver/AspectX"
version="
2.0">
<
xd:
doc type="
stylesheet">
<
xd:
short>
Restriction of type 'within'</
xd:
short>
<
xd:
detail>
Generates the XPath expression for testing if a pointcut is contained by another. </
xd:
detail>
<
xd:
cvsId>
$Id: within.xsl 2 2005-01-19 16:09:12Z ibirrer $</
xd:
cvsId>
<
xd:
author>
ibirrer</
xd:
author>
<
xd:
copyright>
2004, P&P Software GmbH</
xd:
copyright>
</
xd:
doc>
<
xd:
doc>
Restriction of type 'within'</
xd:
doc>
<
xsl:
template match="
ax:restriction[@type='within']"
mode="
pointcutXPath">
<
xsl:
text>
ancestor::</
xsl:
text>
<
xsl:
apply-templates select="
*"
mode="
pointcutXPath" />
</
xsl:
template>
</
xsl:
stylesheet>
v