Bonjour,
J'ai besoin de fusionner plusieurs documents xml en un seul document pdf.
Je pensais utiliser la fonction document() afin d'accéder à chaucund e mes documents.
j'utilise le code suivant :

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
 
<xsl:template name="result_page">		
		<xsl:for-each select ="reporting/Ligne">
			<xsl:variable name="Path_XML" select="NomLien" />
			<xsl:variable name="Source" select="document('$Path_XML')" />					
			<fo:block>				
			<fo:table table-layout="fixed" width="80%">
				<fo:table-column column-width="proportional-column-width(1)"/>
				<fo:table-column column-width="proportional-column-width(1)"/>				
				<fo:table-body>
					<fo:table-row font-weight="bold" 
									text-align="center" 
									vertical-align="middle"
						  			background-color="#A6A5C2">
						<fo:table-cell border="black"
									border-style="solid"
									border-width="1pt">
							<fo:block>&nbsp;Fichier de test&nbsp;:</fo:block>
						</fo:table-cell>
						<fo:table-cell border="black"
									border-style="solid"
									border-width="1pt">
							<fo:block>
 
							<xsl:value-of select="$Source/results/session" />
 
							</fo:block>
						</fo:table-cell>						
					</fo:table-row>
					<fo:table-row font-weight="bold" 
									text-align="center" 
									vertical-align="middle"
						  			background-color="#A6A5C2">
						<fo:table-cell border="black"
									border-style="solid"
									border-width="1pt">
							<fo:block>&nbsp;Date&nbsp;:</fo:block>
						</fo:table-cell>
						<fo:table-cell border="black"
									border-style="solid"
									border-width="1pt">
							<fo:block><xsl:value-of select="$Source/results/date"/></fo:block>
						</fo:table-cell>						
					</fo:table-row>		
				</fo:table-body>				
			</fo:table>	
		</fo:block>
		<fo:block break-after="page"></fo:block>
		</xsl:for-each>
	</xsl:template>
Je boucle sur l'ensemble de mes documents xml.
Mais lorsque je veux recuperer des données pour les afficher, aucun résultat.

Pouvez-vous m'aider

Merci d'avance