logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

AW: embedding jpg in pdf document: msg#00305

Subject: AW: embedding jpg in pdf document
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: Louis.Masters@xxxxxxxxxxx [mailto:Louis.Masters@xxxxxxxxxxx] 
Gesendet: Donnerstag, 26. September 2002 17:43
An: fop-dev@xxxxxxxxxxxxxx
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" <tkuhn@xxxxxxxxxxxxxxxxxxxxxxxxxx> on 09/26/2002 11:35:11

Please respond to fop-dev@xxxxxxxxxxxxxx

To:   <fop-dev@xxxxxxxxxxxxxx>
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: fop-dev-unsubscribe@xxxxxxxxxxxxxx
For additional commands, email: fop-dev-help@xxxxxxxxxxxxxx


<Prev in Thread] Current Thread [Next in Thread>