----- Original Message ----- From: "Craig Christophersen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 27, 2004 8:41 AM Subject: Re: svg2png question
I noticeded the url that works fine was incorrect, to avoid any confusion I corrected it below. Also I want to mention if I try to use the svg2jpeg serializer I get the same result. > Derek > Thanks for your response. If I call it directly as you suggest I get the > same result(Not Available). If I place a gif in the same folder and refer to > it I get it fine. My sitemap serializer is below. I am using 2.14. I have > an applet that gets the wire.svg file from that folder fine > (url="http://localhost:9080/navCoc/SVG/wire.svg"). > <map:serializer logger="sitemap.serializer.svg2png" mime-type="image/png" > name="svg2png" src="org.apache.cocoon.serialization.SVGSerializer"/> > > ----- Original Message ----- > From: "Derek Hohls" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, October 27, 2004 12:13 AM > Subject: Re: svg2png question > > > > 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 > > > > >>> [EMAIL PROTECTED] 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 > > [EMAIL PROTECTED] > > > > -- > > 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: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
