cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Hohls" <DHo...@csir.co.za>
Subject Re: svg2png question
Date Wed, 27 Oct 2004 06:13:33 GMT
Craig

I had no problems with a call like:

<img src="svg/wire.png"/>

What happens you call the pipeline directly - 
eg. 

http://localhost:8080/cocoon/svg/wire.png 

I also had no problems with the pipeline per se;
just check it comes *before* the static image
handler.

Derek

>>> craigch@synesis7.com 2004/10/27 01:32:16 AM >>>
Hello:
I am trying to render an svg image as png in an html page. Sitemap
fragment is below.

In my xsl simply using <img src="SVG/wire.png"/> does not get the job
done (as it does with
a map:read reference to static images in the sitemap). How should I
reference this pipeline in my xsl?

<map:match pattern="SVG/*.png">

<map:generate src="SVG/{1}.svg"/>

<map:serialize type="svg2png"/>

</map:match> 



Craig Christophersen
(406)496-6421
craigch@synesis7.com

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


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


Mime
View raw message