You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Tobias Kuhn <tk...@mailserv.rz.fh-muenchen.de> on 2002/09/26 17:35:11 UTC
embedding jpg in pdf document
Hello,
i got problems in embedding jpg files into my pdf.
when i use
<fo:external-graphic
src="E:\test\test\images\Organigramm.jpg"></fo:external-graphic> it
works pretty good
But now i have the path to the image files stored in an XML Tree, like
this:
<tc1b>E:\test\test\images\Organigramm.jpg</tc1b>
<tc2>E:\test\test\images\Projektstrukturplan.jpg</tc2>
<tc5>E:\test\test\images\Aufwand_Zeitplan1.jpg</tc5>
<tc6>E:\test\test\images\LegendeGanttChart.jpg</tc6>
<tc6>E:\test\test\images\GanttChart_1_1.jpg</tc6>
<tc6>E:\test\test\images\GanttChart_1_2.jpg</tc6>
<tc7>E:\test\test\images\MTA_Diagramm.jpg</tc7>
<tc8>E:\test\test\images\Aufwand_Terminsteuerung11.jpg</tc8>
<tc8>E:\test\test\images\Aufwand_Terminsteuerung12.jpg</tc8>
nnow i want to read the paths from my xml file and use them in my xslt
file , like this:
<xsl:variable name="organigramm"
select="/projekt/images/tc1b"></xsl:variable>
<fo:external-graphic src="organigramm"></fo:external-graphic>
but this does not work... Error: "Path not found..."
Any Tips?
Thanks in Advance,
Tobias