<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 'followedBy'</xd:short>
    
<xd:detail>Generates the XPath expression for testing if a pointcut is (immediately) followed by another. </xd:detail>
    
<xd:cvsId>$Id: followedBy.xsl 2 2005-01-19 16:09:12Z ibirrer $</xd:cvsId>
    
<xd:author>ibirrer</xd:author>
    
<xd:copyright>2004, P&amp;P Software GmbH</xd:copyright>
  
</xd:doc>

  
  <xd:doc>Restriction of type 'followedBy'</xd:doc>

  
<xsl:template match="ax:restriction[@type='followedBy']" mode="pointcutXPath">
    
<xsl:text>following-sibling::*[position() = 1 and self::</xsl:text>
    
<xsl:apply-templates select="*" mode="pointcutXPath" />
    
<xsl:text>]</xsl:text>
  
</xsl:template>
</xsl:stylesheet>






































v