RE: Including static images into SVG files

2002-12-02 Thread Conal Tuohy
Can you capture the name and port of the localhost from the "host" request parameter, and pass it to the stylesheet? -Original Message- From: Derek Hohls [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 3 December 2002 00:21 To: [EMAIL PROTECTED] Subject: RE: Including static image

RE: Including static images into SVG files

2002-12-02 Thread Derek Hohls
Thanks for this suggestion.   I think its a "toss up" as to where this info comes from or is stored.   I am not sure I prefer using the sitemap to do this as it: (a) makes the sitemap more complex and (b) means I have to maintain two different versions    (development / production)   whereas a

RE: Including static images into SVG files

2002-12-02 Thread Upayavira
My approach is to pass the path from the sitemap to the XSL stylesheet that produces the SVG as a parameter. The advantage of that is to keep all references to filesystems in the sitemap, rather than in stylesheets. Also, make full use of localhost where appropriate. Hope this helps, Upayavira

Re: Including static images into SVG files

2002-12-01 Thread Derek Hohls
Ok, point taken and noted.    I think I will have to maintain the server part of the   address in a separate file and do an 'include' in the processing file - this way it should make the maintainance easier (even if not intuitively obvious!)>>> [EMAIL PROTECTED] 01/12/2002 11:19:22 >>>But AFA

Re: Including static images into SVG files

2002-12-01 Thread Joerg Heinicke
But AFAIK this is the only working solution. Both Batik and FOP only work with absolute paths. Joerg Derek Hohls wrote: Unfortunately this is not a real solution: in the example I used 'myserver' - on my development machine this would be 'localhost:8080' whereas on the production machine it woul

RE: Including static images into SVG files

2002-12-01 Thread Derek Hohls
Unfortunately this is not a real solution: in the example I used 'myserver' - on my development machine this would be 'localhost:8080' whereas on the production machine it would be something 'joe.domain.com' ... I do not think that 'localhost' would work the same in both situations... the same hol

RE: Including static images into SVG files

2002-11-30 Thread Conal Tuohy
-Original Message- From: Derek Hohls [mailto:[EMAIL PROTECTED]] >I need to include and display a static image >(its a logo) on all the SVG images I produce; >the only syntax I have managed to get to work is: http://myserver/path/logo.jpg /> (plus height, width) >Unfortunately this req

Re: Including static images into SVG files

2002-11-29 Thread Andrew Savory
Hi Derek, On Fri, 29 Nov 2002, Derek Hohls wrote: > the only syntax I have managed to get to work is: > > http://myserver/path/logo.jpg /> (plus height, > width) I've had the same problem (relative URLs not working). The only way I've got it to work is to hardwire "myserver". Sorry that's not