HI,

I mean something like this:
------XML FILE-----
<path>E:\test\test\images\Projektstrukturplan.jpg</path>
--------------------


<xsl:variable name="imgURL" select="/images/image1/path"></xsl:variable>

... So path is E:\test\test\images\Projektstrukturplan.jpg...

<fo:external-graphic  src="{$imgURL}"/>

But is does not work...

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Gesendet: Donnerstag, 26. September 2002 17:43
An: [EMAIL PROTECTED]
Betreff: Re: embedding jpg in pdf document



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]



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

Reply via email to