The only way I could get images to work through cocoon was to provide an
absolute file system path to the image using the file:// protocol.
I used a sitemap parameter to pass the path into my stylesheet so that
it was still configurable on different machines.

Andrew

On Fri, 2002-08-02 at 12:01, Wolle wrote:
> On Fri, 2 Aug 2002, Barbara Post wrote:
> 
> *image path issue ? absolute, relative ?
> 
> here is some code from the xml-file:
> 
> <logo name="reallogo.jpg"/>
> 
> 
> 
> here is some code from the xsl-file:
> 
> 
> <fo:block>
>     <fo:external-graphic src="file:reallogo.jpg"/>
> </fo:block>
> 
> 
> the pictures are in the same directory as the xsl/xml file.
> 
> i also tried:
> 
> <fo:external-graphic src="reallogo.gif"/>,
> <fo:external-graphic src="url(reallogo.gif)"/>
> 
> 
> bye 
> 
> ww
> 
> 
> *
> *Babs
> *----- Original Message -----
> *From: Wolle <[EMAIL PROTECTED]>
> *To: <[EMAIL PROTECTED]>
> *Sent: Friday, August 02, 2002 11:48 AM
> *Subject: fop
> *
> *
> *> hi!
> *>
> *> I made a xsl-file to generate from a xml file a pdf. this works fine as
> *> long as i use fop standalone (command line).
> *>
> *> if producing the pdf with cocoon i get the text without any pictures
> *> (gif/jpg).
> *>
> *> has anybody the same problem? where can i get some information about whats
> *> working wrong?
> *>
> *> i need some help.
> *>
> *>
> *>
> *> bye
> *>
> *> wolfgang weigel
> *> k
> *>
> *>
> *> ---------------------------------------------------------------------
> *> Please check that your question  has not already been answered in the
> *> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
> *>
> *> To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
> *> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> *>
> *
> *
> *---------------------------------------------------------------------
> *Please check that your question  has not already been answered in the
> *FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
> *
> *To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
> *For additional commands, e-mail:   <[EMAIL PROTECTED]>
> *
> 
> Auf bald
> 
>                             Wolfgang Weigel
> _____________________________________________________________________
> Wolfgang Weigel
> Universitaet Wuerzburg
> Didaktik Mathematik
> Am Hubland
> 97074 Wuerzburg
> 
> [EMAIL PROTECTED]
> office: 0931/888-5078
>  _      __     ____                        __                 ______
> | | /| / /__  / / /__   _    _____ ____   / /  ___ _______   / / / /
> | |/ |/ / _ \/ / / -_) | |/|/ / _ `(_-<  / _ \/ -_) __/ -_) /_/_/_/
> |__/|__/\___/_/_/\__/  |__,__/\_,_/___/ /_//_/\__/_/  \__/ (_|_|_) 
> 
> ---------------------------------------------------------------------
> 
> 
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 
> 



---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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

Reply via email to