Bonjour j'ai un programme java censé faire une transformation xslt d'un fichier xml vers un fichier html. et voila le message que j'obtien :
[Fatal Error] sommaire_T6.xsl:15:2: The content of elements must consist of well-formed character data or markup.
javax.xml.transform.TransformerConfigurationException: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: The content of elements must consist of well-formed character data or markup.

Pouvez vous m'aider s'il vous plait.

Voici le fichier xsl utilisé :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
 
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
	xmlns="http://www.w3.org/TR/REC-html40">
	<xsl:output method="html" encoding="ISO-8859-1" omit-xml-declaration="yes"
		doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
		doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
		media-type="text/html" />
	<xsl:strip-space elements="*" />
	<xsl:include href="headSVD.xsl" />
	<xsl:include href="commonSVD.xsl" />
	<xsl:template match="image_som">
		<a>
			<xsl:attribute name="href">
				<xsl:value-of select="../url_archetype" />
			</xsl:attribute>
			<img border="0" width="120"
				onload="traitement_image(this)">
				<xsl:attribute name="src">
					<xsl:value-of select="." />
				</xsl:attribute>
				<xsl:attribute name="alt">
					<xsl:value-of select="../nom" />
				</xsl:attribute>
			</img>
		</a>
	</xsl:template>
 
 
 
	<xsl:template match="selection">
		<body bgcolor="white" link="#bbbbbb" vlink="#bbbbbb"
			alink="#bbbbbb">
			<div align="center">
				<xsl:call-template name="entete_sommaire" />
				<!--comprend <xsl:value-of select="titre"/>-->
				<!--
					<p  style='text-align:center;'>
					<img src="http://www.son-video.com/Images/Divers/NotreSelection_700.gif"/>
					</p>
				-->
				<table summary="" border="0" cellpadding="0"
					cellspacing="0" width="700">
					<xsl:for-each select="//article_sommaire">
						<xsl:choose>
							<xsl:when test="position() mod 4 = 1">
								<tr>
									<td width="165" height="180"
										valign="center" align="center">
										<xsl:apply-templates
											select="./image_som" />
									</td>
									<td width="10" height="180"
										valign="top">
									</td>
									<td width="165" height="180"
										valign="center" align="center">
										<xsl:apply-templates
											select="following-sibling::*[1]/image_som" />
									</td>
									<td width="10" height="180"
										valign="top">
									</td>
									<td width="165" height="180"
										valign="center" align="center">
										<xsl:apply-templates
											select="following-sibling::*[2]/image_som" />
									</td>
									<td width="10" height="180"
										valign="top">
									</td>
									<td width="165" height="180"
										valign="center" align="center">
										<xsl:apply-templates
											select="following-sibling::*[3]/image_som" />
									</td>
 
								</tr>
								<tr>
									<td width="165" height="180"
										valign="top" align="center">
										<xsl:apply-templates select="." />
									</td>
									<td width="10" height="180"
										valign="top">
									</td>
									<td width="165" height="180"
										valign="top" align="center">
										<xsl:apply-templates
											select="following-sibling::*[1]" />
									</td>
									<td width="10" height="180"
										valign="top">
									</td>
									<td width="165" height="180"
										valign="top" align="center">
										<xsl:apply-templates
											select="following-sibling::*[2]" />
									</td>
									<td width="10" height="180"
										valign="top">
									</td>
									<td width="165" height="180"
										valign="top" align="center">
										<xsl:apply-templates
											select="following-sibling::*[3]" />
									</td>
 
								</tr>
								<tr>
									<td colspan="7" valign="top"
										width="700">
										<img height="9" width="700"
											src="http://www.son-video.com/Promos/MiniBoutique/Images/Titres/Line4colo.gif" />
									</td>
								</tr>
 
							</xsl:when>
							<xsl:otherwise></xsl:otherwise>
						</xsl:choose>
					</xsl:for-each>
				</table>
				<xsl:call-template name="basdepage_selection" />
			</div>
		</body>
	</xsl:template>
	<xsl:template match="article_sommaire">
		<b>
			<a>
				<xsl:attribute name="href">
					<xsl:value-of select="url_archetype" />
				</xsl:attribute>
				<font class="som_nom_produit">
					<xsl:apply-templates select="nom" />
				</font>
			</a>
		</b>
		<!--   <xsl:text> : </xsl:text> -->
		<br />
		<xsl:value-of select="categorie" />
		<br />
		<xsl:apply-templates select="prix_vente" />
		<xsl:apply-templates select="prix_ald" />
		<br />
		<xsl:apply-templates select="description_banniere" />
 
		<!--        <p class="Text_Std">
			<xsl:apply-templates select="reference"/>-
			<xsl:apply-templates select="id_archetype"/>-
			<xsl:apply-templates select="id_produit"/>
			</p>
		-->
	</xsl:template>
	<xsl:template match="article_sommaire/id|modele|marque|reference">
		<xsl:apply-templates />
		<xsl:text></xsl:text>
	</xsl:template>
	<xsl:template match="prix_vente">
		<font class="som_prix_promo">
 
			<xsl:apply-templates />
			<xsl:text>€</xsl:text>
 
		</font>
		<br />
	</xsl:template>
	<xsl:template match="prix_ald">
		<font class="som_ald">
 
			<xsl:value-of select="." />
			<xsl:text>€</xsl:text>
		</font>
	</xsl:template>
	<xsl:template match="mise_en_avant">
		<td width="50">
			<font size="2"
				face="Geneva,Swiss,SunSans-Regular,Arial,Helvetica,Futura Book"
				color="red">
				<b>
					<xsl:apply-templates />
				</b>
			</font>
		</td>
	</xsl:template>
	<xsl:template match="description_banniere">
		<font class="Text_Std">
			<xsl:value-of disable-output-escaping="yes" select="." />
		</font>
		<br />
	</xsl:template>
</xsl:stylesheet>