Sans légende

GeSHi © 2004, Nigel McNie
  1. <xsl:stylesheet version="2.0"
  2.         xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  3.         xmlns:fo="http://www.w3.org/1999/XSL/Format">
  4.                
  5.         <xsl:template match="/dependencies">
  6.                 <xsl:copy>
  7.                         <xsl:apply-templates
  8.             select="//feature[outbound[text()='java.sql.Connection.commit()'] and outbound[contains(text(), 'setConnection')]]" />
  9.                 </xsl:copy>
  10.         </xsl:template>
  11.        
  12.         <xsl:template match="@*|node()">
  13.                 <xsl:copy>
  14.                         <xsl:apply-templates select="@*|node()" />
  15.                 </xsl:copy>
  16.         </xsl:template> 
  17. </xsl:stylesheet>

Je hais XSLT, et c'est ma joie (de Groot).

Comments

1. On Wednesday 6 June 2007, 17:31 by Florent

Tu as essayé les orties fraiches ?