cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philippe Guillard <pguill...@soociety.com>
Subject Re: xlink:href inside svg stylesheet not finding file
Date Sat, 07 Aug 2004 10:58:01 GMT
Thanks Derek!

On Fri, 2004-08-06 at 21:48, Derek Hohls wrote:
> I am not sure image references *can* be made relative...
> there have been a number of posts on this issue before!
> Best way is to pass the context to the stylesheet resp. 
> for creating the image link, thereby avoiding this problem 
> altogether.  
> 
> Simple and it works.
> 
> >>> pguillard@soociety.com 2004/08/06 02:20:15 PM >>>
> Hi,
> 
> I've found this in the mailist with no response. Somebody an idea ?
> 
> Regards,
> Phil
> 
> On Mon, 2004-03-15 at 08:59, Joel McConaughy wrote:
> > I am trying to render some dynamic text data into a jpg using
> svg2jpeg.  
> > Inside the stylesheet I have added the svg tags, one of which is an 
> > image tag that references a background image:  <image 
> > xlink:href="image.jpg">.  If I put a fully-qualified URL there like 
> > http://www.me.com/image.jpg, it works fine.  But if I try to
> reference 
> > the pipeline ora simple relative url, it doesn't find the image. 
> I've 
> > tried the following:
> > 
> > xlink:href="image.jpg" with the image in the cocoon application
> directory
> > xlink:href="cocoon:/image.jpg" with a pipeline that does return the 
> > image with the URL  http://cocoonapp/image.jpg
> > xlink:href="context://image.pg"
> > 
> > Does anyone have some sage advice for how I can make this URL
> relative 
> > to the current cocoon app directory?  Thanks .
> > 
> > Joel
> > 
> > 
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org 
> > For additional commands, e-mail: users-help@cocoon.apache.org 
> > 
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org 
> For additional commands, e-mail: users-help@cocoon.apache.org 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message