Merci
Désolé mais ca ne fonctionne toujours pas je ne comprend pas !!!
avant j'avais une croix rouge maintenant je n'ai plus rien du tout
:?
avez vous d'autres solutions car la je pete les plombs... 8O
merci
A+
Version imprimable
Merci
Désolé mais ca ne fonctionne toujours pas je ne comprend pas !!!
avant j'avais une croix rouge maintenant je n'ai plus rien du tout
:?
avez vous d'autres solutions car la je pete les plombs... 8O
merci
A+
essaye ça car je me suis trompé par rapport au chemin de ton image.Citation:
Envoyé par imas
Chez moi je fais la meme chose et ça marche.
salut
toujours rien je comprend pas voici mon fichhier xml
et mon fichier xslCode:
1
2
3
4
5
6
7
8
9
10
11
12
13 <?xml version="1.0" encoding="utf-8"?> <?xml:stylesheet type="text/xsl" href="bob.xsl"?> <cv> <contact> <IMAGE src="photo/1.jpg"/>" <name>Laurent</name> <surname>Volte</surname> <address>xxxdx</address> <phone>06xx</phone> <email>x@wanadoo.fr</email> <nationality lang="fr">Francais</nationality> <birthday> 08/04/1981</birthday> </contact>
ca devrait marcher je comprend pas l'erreur...Code:
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44 <?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="html" encoding="utf-8" version="4.0" doctype-public="-//W3C//DTD HTML 4.01//FR" /> <xsl:template match="/"> <html> <body> <body bgcolor="navyblue" text="blue"> </body> <head> <title>CV Laurent </title> </head> <h3> <strong><xsl:value-of select="cv/contact/surname"/> </strong> <strong><xsl:value-of select="cv/contact/name"/> </strong> </h3> <xsl:value-of select="cv/contact/address"/> <BR> <xsl:value-of select="cv/contact/phone"/> </BR> <BR> <a href="mailto:xx@wanadoo.fr"><xsl:value-of select="cv/contact/email"/></a> </BR> <BR> <xsl:value-of select="cv/contact/nationality"/> </BR> <BR> ne le : <xsl:value-of select="cv/contact/birthday"/> </BR> <h1> <B> <body text="blue"> </body> <font color="white"><div align="center">Curriculum Vitae</div></font> </B> </h1> </body> </html> </xsl:template> <xsl:template match="IMAGE"> <img src="{@src}" /> </xsl:template> </xsl:stylesheet>
j'utilise le logiciel cooktop ...
voili voilou
merci
salut
j'ai enfin trouvé pour afficher l'image dans IE
Code:<xsl:apply-templates select="cv/contact/IMAGE" />
dans le fichier xmlCode:
1
2
3 <xsl:template match="IMAGE"> <img src="{@src}" align="right" /> </xsl:template>
voili voilouCode:
1
2
3 <cv> <contact> <IMAGE src="cv/photo/Lolo.jpg"/>