Subversion Repositories eFlore/Archives.eflore-consultation-v2

Compare Revisions

Regard whitespace Rev 104 → Rev 105

/trunk/serveur/generateur/xslt/macroelement.xslt
1,16 → 1,11
<?xml version="1.0" encoding="UTF-8"?>
<!-- Note : enregistrer ce fichier avec l'encodage UTF-8 cookie. -->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="text" version="1.0" encoding="UTF-8" indent="yes"/>
<xsl:template match="/macroelement">&lt;?
<xsl:apply-templates select="//balise2" mode="require_once"/>
class <xsl:value-of select="@nom"/> extends macroElement {
function getSQL()
{
$contexte = array();
26,8 → 21,6
-->
}
?&gt;
</xsl:template>
56,7 → 49,6
 
<xsl:template match="parametre" mode="renseigne">!empty($contexte['<xsl:value-of select="@nom"/>']) and </xsl:template>
 
<xsl:template match="*" mode="level1root">
$element= new domElement('<xsl:value-of select="name()"/>');
$this->baseDOM->appendChild($element);
100,7 → 92,6
$this->baseDOM->appendChild($element);
<xsl:apply-templates select="@*"/>
<xsl:apply-templates select="text()"/>
</xsl:template>
<xsl:template match="@*">
111,5 → 102,4
/*text(<xsl:value-of select="."/>)*/
</xsl:template>
</xsl:stylesheet>
</xsl:stylesheet>
/trunk/serveur/generateur/xslt/groupemacroelement.xslt
1,4 → 1,5
<?xml version="1.0" encoding="UTF-8"?>
<!-- Note : enregistrer ce fichier avec l'encodage UTF-8 cookie. -->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="text" version="1.0" encoding="UTF-8" indent="yes"/>
47,5 → 48,4
$aMacroElement->construire();
</xsl:template>
</xsl:stylesheet>
</xsl:stylesheet>