[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/se3-wpkg/sources/www/bin/ -> rapports.xsl (source)

   1  <?xml version="1.0" encoding="iso-8859-1"?>
   2  
   3  <!--  Met à jour rapports.xml à partir du fichier xml fourni
   4          
   5          ## $Id: rapports.xsl 2552 2007-10-29 22:28:08Z jlebail $ ##
   6  -->
   7  
   8  <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
   9      <xsl:output method="xml" version="1.0" encoding="iso-8859-1" indent="yes" />
  10      <xsl:variable name="NewRapportsId" select="/rapports/rapport/@id"/>
  11      <xsl:variable name="RAPPORT" select="document('/var/se3/unattended/install/wpkg/rapports/rapports.xml')/rapports/rapport"/>
  12      <xsl:template match="/">
  13           <xsl:comment ><xsl:value-of select="concat('Généré par SambaEdu. Ne pas modifier. ', count($RAPPORT), ' - ', count($NewRapportsId))" /></xsl:comment>
  14          <rapports>
  15              <xsl:for-each select="/rapports/rapport">
  16                  <xsl:copy-of select="." />
  17              </xsl:for-each>
  18              <xsl:for-each select="$RAPPORT">
  19                  <xsl:if test="not(@id = $NewRapportsId)">
  20                      <xsl:copy-of select="." />
  21                  </xsl:if>
  22              </xsl:for-each>
  23          </rapports>
  24      </xsl:template>
  25  </xsl:stylesheet>


Generated: Tue Mar 17 22:47:18 2015 Cross-referenced by PHPXref 0.7.1