bon g fait une presentation a la con mais bon... normalement t'as toute les info ki s'affiche:
Code :
- <?xml version="1.0"?>
- <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
- <xsl:template match="/">
- <xsl:apply-templates match="monitor"/>
- </xsl:template>
- <table>
- <xsl:template match="monitor">
- <xsl:for-each select="serverspy">
- <tr>
- <td>
- <xsl:value-of select="@value"/>
- </td>
- <td>
- <xsl:value-of select="@name"/>
- </td>
- </tr>
- </xsl:for-each>
- <xsl:for-each select="rules">
- <tr>
- <td>
- <xsl:value-of select="@value"/>
- </td>
- <td>
- <xsl:value-of select="@name"/>
- </td>
- </tr>
- </xsl:for-each>
- <xsl:for-each select="details">
- <tr>
- <td>
- <xsl:value-of select="@value"/>
- </td>
- <td>
- <xsl:value-of select="@name"/>
- </td>
- </tr>
- </xsl:for-each>
- </xsl:template>
- </table>
- </xsl:stylesheet>
|
dis moi si ca marche (g pas tester)
bonne chance
edit: 4:52 du matt!!!! faut dormir un peu!!
Message édité par da_s_monk le 08-08-2003 à 09:43:37