Subversion Repositories eFlore/Archives.eflore-consultation-v2

Rev

Rev 27 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 27 Rev 105
Line 1... Line 1...
1
<?xml version="1.0" encoding="UTF-8"?>
1
<?xml version="1.0" encoding="UTF-8"?>
-
 
2
<!-- Note : enregistrer ce fichier avec l'encodage UTF-8 cookie. -->
2
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
3
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
3
    <xsl:output method="text" version="1.0" encoding="UTF-8" indent="yes"/>
4
  <xsl:output method="text" version="1.0" encoding="UTF-8" indent="yes"/>
4
    
5
  
5
    <xsl:template match="/groupemacroelement">&lt;?
6
  <xsl:template match="/groupemacroelement">&lt;?
6
        class <xsl:value-of select="@classe"/> extends groupeMacroElement {
7
        class <xsl:value-of select="@classe"/> extends groupeMacroElement {
Line 7... Line 8...
7
        
8
        
8
            function __construct($aConn)
9
            function __construct($aConn)
9
            {
10
            {
Line 29... Line 30...
29
                <xsl:apply-templates select="macroelement" />
30
                <xsl:apply-templates select="macroelement" />
30
            }
31
            }
Line 31... Line 32...
31
        
32
        
32
        }
33
        }
33
?&gt;
34
?&gt;
34
    </xsl:template>
35
  </xsl:template>
35
    
36
  
36
    <xsl:template match="parametres" >
37
  <xsl:template match="parametres" >
37
       <xsl:apply-templates select="parametre" />
38
    <xsl:apply-templates select="parametre" />
38
    </xsl:template>
39
  </xsl:template>
39
    
40
  
40
    <xsl:template match="parametre" >
41
  <xsl:template match="parametre" >
41
               if (array_key_exists('<xsl:value-of select="@nom"/>',$_REQUEST)) { $this->dblock->ajouterDonnee('<xsl:value-of select="@nom"/>',$_REQUEST['<xsl:value-of select="@nom"/>']); }
42
    if (array_key_exists('<xsl:value-of select="@nom"/>',$_REQUEST)) { $this->dblock->ajouterDonnee('<xsl:value-of select="@nom"/>',$_REQUEST['<xsl:value-of select="@nom"/>']); }
42
    </xsl:template>
43
  </xsl:template>
43
    
44
  
44
    <xsl:template match="macroelement" >
45
  <xsl:template match="macroelement" >
45
           /*balise:<xsl:value-of select="@nom"/>*/
46
    /*balise:<xsl:value-of select="@nom"/>*/
46
           $aMacroElement = $this->macroElementFactory('<xsl:value-of select="@nom"/>',$this->dblock);
47
    $aMacroElement = $this->macroElementFactory('<xsl:value-of select="@nom"/>',$this->dblock);
47
           $aMacroElement->construire();
48
    $aMacroElement->construire();
48
    </xsl:template>
-
 
49
    
49
  </xsl:template>
50
    
50
  
51
</xsl:stylesheet>
51
</xsl:stylesheet>