First of all, sorry for the empty post... CTRL-X instead of CTRL-C ... if you take your snippet, uncomment the last-but-one line, comment the last line; change 'name' to 'type' and you should have a real SVG with mime-type and all !
K. On Wed, 27 Feb 2002, Ahmad Morad wrote: > Hi, > > I try to produce SVG with cocoon 2. And this work well with the following > sitemap and corresponding xml and stylesheet files. > > -- > <map:match pattern="projects/*.xml"> > <map:generate type="file" src="projects/{1}.xml"/> > <map:transform type="xslt" src="stylesheets/proj2svg.xsl"/> > <!--map:serialize name="svgxml"/--> > <map:serialize type="svg2jpeg"/> > </map:match> > -- > > This will transfer the svg to jpeg in order to show the image in a browser. > However some browsers could already render svg images (Mozilla/ie)+ Plugin. > (this important for producing SVG-Javascript ). The browsers could render > the SVG just within an <embed> HTML Element! Could I produce SVG output > which I can dirctly visualize in a Browser? > > Thanks, > Morad. > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faqs.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/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>