Do you mean something like this:

<xsl:variable name="imgURL">
     <xsl:apply-templates select="vanPosURL"/>
</xsl:variable>
<fo:external-graphic  src="{$imgURL}"/>






"Tobias Kuhn" <[EMAIL PROTECTED]> on 09/26/2002 11:35:11

Please respond to [EMAIL PROTECTED]

To:   <[EMAIL PROTECTED]>
cc:

Subject:  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









---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to