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
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
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
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
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
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
-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
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
I know this is perhaps off-topic for Cocoon, but it does relate
(somewhat) and I hope
there is a 'guru' somewhere that can answer a relatively (?)
straightforward question.
I need to include and display a static image (its a logo) on all the SVG
images I produce;
the only syntax I have mana