Re: SV: SV: external-graphic src syntax

2002-03-13 Thread Michael Engelhart
I have the same setup but I'm calling FOP from an embedded application (NOT a web application - no tomcat or other server). Here's the code from my render() method: ByteArrayOutputStream out = new ByteArrayOutputStream(); DOMResult xslFODomResult = transformPDF("/some/pathto/a/stylesheet/pdf.xsl

AW: SV: SV: external-graphic src syntax

2002-03-13 Thread S. Jayaraman
Gesendet: Mittwoch, 13. März 2002 15:59 An: [EMAIL PROTECTED] Betreff: Re: SV: SV: external-graphic src syntax That's bizarre, I 'assumed' FOP used the current directory as its base dir... I ran the following command with test.xml, test.xsl and image.jpg in the current director

AW: SV: SV: external-graphic src syntax

2002-03-13 Thread S. Jayaraman
2002 15:59 An: [EMAIL PROTECTED] Betreff: Re: SV: SV: external-graphic src syntax That's bizarre, I 'assumed' FOP used the current directory as its base dir... I ran the following command with test.xml, test.xsl and image.jpg in the current directory: current_dir> java org.a

Re: SV: SV: external-graphic src syntax

2002-03-13 Thread Magnus Sjöberg
That's bizarre, I 'assumed' FOP used the current directory as its base dir... I ran the following command with test.xml, test.xsl and image.jpg in the current directory: current_dir> java org.apache.fop.apps.Fop -xml test.xml -xsl test.xsl -pdf test.pdf All images in the xml are added to the fo u

Re: SV: SV: external-graphic src syntax

2002-03-13 Thread Michael Engelhart
Thanks Mangus, That's great info. (Maybe we can get it stuck into the FAQ? ) I know have 2 working fine. 1 and 3 I still can't get to work My question about #1 is, how do you know what the relative path is relative too?? I my mind it should be relative to the stylesheet that's calling it but i

Re: SV: SV: external-graphic src syntax

2002-03-13 Thread Magnus Sjöberg
> -Ursprungligt meddelande- > Fran: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Magnus Sjoberg > Skickat: den 13 mars 2002 12:58 > Till: [EMAIL PROTECTED] > Amne: Re: SV: external-graphic src syntax > > I use Fop 0.20.2 and as long as the path to the imagefile is > a

Re: SV: external-graphic src syntax

2002-03-13 Thread Michael Engelhart
Hmm. Now that I know the syntax it works. Maybe I was just screwing put the long path name.. Thanks Mike On Wednesday, March 13, 2002, at 06:58 AM, Magnus Sjöberg wrote: I use Fop 0.20.2 and as long as the path to the imagefile is absolute, it works. Like so: Also, there is an entry in Fop's con

SV: SV: external-graphic src syntax

2002-03-13 Thread Klosa Uwe
Hello Magnus, have you tried this: I found it somewhere in the internet. Uwe -Ursprungligt meddelande- Fran: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Magnus Sjoberg Skickat: den 13 mars 2002 12:58 Till: [EMAIL PROTECTED] Amne: Re: SV: external-graphic src syntax I use Fop 0.20.2

Re: SV: external-graphic src syntax

2002-03-13 Thread Magnus Sjöberg
I use Fop 0.20.2 and as long as the path to the imagefile is absolute, it works. Like so: Also, there is an entry in Fop's config.xml where you can set the basedir but the comment says 'not implemented'. If, and when this entry gets supported, that should be the place where you specify the based

Re: SV: external-graphic src syntax

2002-03-12 Thread Michael Engelhart
Thanks - i guess for now I'll run a web server on the local machine. For some reason that doesn't hang my application but when I reference it to an external URL, it hangs. Mike On Tuesday, March 12, 2002, at 10:45 AM, Klosa Uwe wrote: It works only with fop0_19_0. All fop0_20_x has the same er

SV: external-graphic src syntax

2002-03-12 Thread Klosa Uwe
It works only with fop0_19_0. All fop0_20_x has the same error. I've tried it in two days now. Uwe -Ursprungligt meddelande- Fran: Michael Engelhart [mailto:[EMAIL PROTECTED] Skickat: den 12 mars 2002 16:28 Till: [EMAIL PROTECTED] Amne: external-graphic src syntax Can someone show me th

SV: external-graphic src syntax

2002-03-12 Thread Klosa Uwe
-Ursprungligt meddelande- Fran: Michael Engelhart [mailto:[EMAIL PROTECTED] Skickat: den 12 mars 2002 16:28 Till: [EMAIL PROTECTED] Amne: external-graphic src syntax Can someone show me the syntax to using ?? I have an image in the same directory as the stylsheet and have tried this s