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 holds true for a file 
path - the setup on the UNIX machine is
*definitely* different from mine - ideally I 
am looking for a Cocoon-related solution.

Thanks
Derek

D Hohls
CSIR Environmentek
PO Box 17001
Kwa-Zulu Natal
South Africa
4013


>>> [EMAIL PROTECTED] 12/01/02 08:33 AM >>>
-----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:

<svg:image xlink:href="http://myserver/path/logo.jpg />  
(plus height, width)

>Unfortunately this requires an absolute URL 
>address - if I drop the http://myserver/
>then it simply does not work - is there a 
>Cocoon "substitute" (protocol?) I can use
>to get the image processed correctly, *regardless* 
>of what machine the app. is loaded on??

Try "localhost" instead of "myserver". 

You can also use a file url (so long as the path is absolute). 

Cheers

Con

---------------------------------------------------------------------
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