You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Wolle <wg...@cip.physik.uni-wuerzburg.de> on 2002/08/02 11:48:26 UTC
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: fop
Posted by Barbara Post <ba...@ifrance.com>.
did you set up an pipeline matching **.gif and **.jpg ? it works fine here,
so no worry about absolute paths, only relative ones.
are the images out of the webapp's main directory ?
Babs
----- Original Message -----
From: Andrew Timberlake <an...@timberlake.co.za>
To: <co...@xml.apache.org>
Sent: Friday, August 02, 2002 1:08 PM
Subject: Re: fop
> 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 <wg...@cip.physik.uni-wuerzburg.de>
> > *To: <co...@xml.apache.org>
> > *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: <co...@xml.apache.org>
> > *> For additional commands, e-mail: <co...@xml.apache.org>
> > *>
> > *
> > *
> > *---------------------------------------------------------------------
> > *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: <co...@xml.apache.org>
> > *For additional commands, e-mail: <co...@xml.apache.org>
> > *
> >
> > Auf bald
> >
> > Wolfgang Weigel
> > _____________________________________________________________________
> > Wolfgang Weigel
> > Universitaet Wuerzburg
> > Didaktik Mathematik
> > Am Hubland
> > 97074 Wuerzburg
> >
> > wgweigel@cip.physik.uni-wuerzburg.de
> > 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: <co...@xml.apache.org>
> > For additional commands, e-mail: <co...@xml.apache.org>
> >
> >
>
>
>
> ---------------------------------------------------------------------
> 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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: fop
Posted by Wolle <wg...@cip.physik.uni-wuerzburg.de>.
hi!
which parameter did you use in the sitemap. can you show a example?
bye
wolfgang weigel
*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 <wg...@cip.physik.uni-wuerzburg.de>
*> *To: <co...@xml.apache.org>
*> *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: <co...@xml.apache.org>
*> *> For additional commands, e-mail: <co...@xml.apache.org>
*> *>
*> *
*> *
*> *---------------------------------------------------------------------
*> *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: <co...@xml.apache.org>
*> *For additional commands, e-mail: <co...@xml.apache.org>
*> *
*>
*> Auf bald
*>
*> Wolfgang Weigel
*> _____________________________________________________________________
*> Wolfgang Weigel
*> Universitaet Wuerzburg
*> Didaktik Mathematik
*> Am Hubland
*> 97074 Wuerzburg
*>
*> wgweigel@cip.physik.uni-wuerzburg.de
*> 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: <co...@xml.apache.org>
*> For additional commands, e-mail: <co...@xml.apache.org>
*>
*>
*
*
*
*---------------------------------------------------------------------
*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: <co...@xml.apache.org>
*For additional commands, e-mail: <co...@xml.apache.org>
*
Auf bald
Wolfgang Weigel
_____________________________________________________________________
Wolfgang Weigel
Universitaet Wuerzburg
Didaktik Mathematik
Am Hubland
97074 Wuerzburg
wgweigel@cip.physik.uni-wuerzburg.de
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: fop
Posted by Andrew Timberlake <an...@timberlake.co.za>.
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 <wg...@cip.physik.uni-wuerzburg.de>
> *To: <co...@xml.apache.org>
> *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: <co...@xml.apache.org>
> *> For additional commands, e-mail: <co...@xml.apache.org>
> *>
> *
> *
> *---------------------------------------------------------------------
> *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: <co...@xml.apache.org>
> *For additional commands, e-mail: <co...@xml.apache.org>
> *
>
> Auf bald
>
> Wolfgang Weigel
> _____________________________________________________________________
> Wolfgang Weigel
> Universitaet Wuerzburg
> Didaktik Mathematik
> Am Hubland
> 97074 Wuerzburg
>
> wgweigel@cip.physik.uni-wuerzburg.de
> 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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
>
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: fop
Posted by Wolle <wg...@cip.physik.uni-wuerzburg.de>.
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 <wg...@cip.physik.uni-wuerzburg.de>
*To: <co...@xml.apache.org>
*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: <co...@xml.apache.org>
*> For additional commands, e-mail: <co...@xml.apache.org>
*>
*
*
*---------------------------------------------------------------------
*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: <co...@xml.apache.org>
*For additional commands, e-mail: <co...@xml.apache.org>
*
Auf bald
Wolfgang Weigel
_____________________________________________________________________
Wolfgang Weigel
Universitaet Wuerzburg
Didaktik Mathematik
Am Hubland
97074 Wuerzburg
wgweigel@cip.physik.uni-wuerzburg.de
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: fop
Posted by Barbara Post <ba...@ifrance.com>.
image path issue ? absolute, relative ?
Babs
----- Original Message -----
From: Wolle <wg...@cip.physik.uni-wuerzburg.de>
To: <co...@xml.apache.org>
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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>