Communauté Informatique NDFR.net : Fabriquer un fichier XSL - Programmation Web (HTML, PHP, ASP, Java, XML, etc.)
 
Fabriquer un fichier XSL
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 23-07-2007, 09:54
belibech belibech is offline
Membre junior
 
Join Date: 23-07-2007
Posts: 1
Essaye ça :
Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="html"/> 
    <xsl:template match="/Inbox/Lettre">
        <html> 
            <body>
                <table>
                    <tr> 
                        "From : " <xsl:value-of select="./Expediteur/AdresseElectronique/@nom"/>
                        "Message : " 
                        <xsl:value-of select="./Contenu/ContenuSimple"/>
                    </tr>
                </table>
            </body>
        </html>
    </xsl:template> 
</xsl:stylesheet>
si tu veux avoir tout une liste il faut ajouter une boucle for each :
Code:
<xsl:for-each select="/Inbox/Lettre">
après la balise table

Last edited by Benjy; 23-07-2007 at 19:29. Reason: La balise CODE est votre amie... joli déterrage au fait :p
Reply With Quote
 

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
récupérer un fichier pst (outlook 2003) Cougar Logiciels 2 17-10-2005 09:33
Installation automatisée de Windows 2000 - XP - Server 2003 Werner Articles 241 02-08-2005 15:52
Taille du fichier d'échange KnuX Windows NT4/2000/XP Client 10 23-06-2004 12:15
Creation d'un fichier de sortie en PHP megaseb Programmation Web (HTML, PHP, ASP, Java, XML, etc.) 5 25-01-2004 18:52
Problème de lecture de fichier en PHP stan Programmation Web (HTML, PHP, ASP, Java, XML, etc.) 9 12-10-2003 22:47

All times are GMT +2. The time now is 08:11.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.