1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
| <!-- *************************** Pour chaques lignes************************************************************************* -->
<xsl:template match="ligne">
<xsl:element name="ligne">
<!-- ********************* table GROUPE *************************************-->
<xsl:element name="table">
<xsl:attribute name="nom">GROUPE</xsl:attribute>
<xsl:attribute name="retriever">com.cerpbn.extranet.metier.reglesGestions.GroupeRetriever</xsl:attribute>
<xsl:element name="colonne">
<xsl:attribute name="nom">GRO_ID</xsl:attribute>
<xsl:attribute name="pk">y</xsl:attribute>
<xsl:attribute name="type">INTEGER</xsl:attribute>
<xsl:attribute name="size">11</xsl:attribute>
</xsl:element>
<xsl:element name="colonne">
<xsl:attribute name="nom">GRO_LIBELLE</xsl:attribute>
<xsl:attribute name="type">VARCHAR</xsl:attribute>
<xsl:attribute name="size">255</xsl:attribute>
<xsl:attribute name="join">GRO_ID</xsl:attribute>
<xsl:if test="@name = 'GROID'" > 10 000>
<xsl:attribute name="method">getGroupeByTier(GRO_ID)</xsl:attribute>
<xsl:attribute name="class">com.cerpbn.extranet.metier.reglesGestions.GroupeRetriever</xsl:attribute>
</xsl:if> // ligne évidemment fausse, mais c'est l'idée que je veux développer
</xsl:element>
</xsl:element>
</xsl:element>
</xsl:template> |
Partager