cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Maukisch <>
Subject Re: xml 2 svg in coplet
Date Wed, 19 Feb 2003 18:51:22 GMT

> get the xml data ('generate'), build the svg graph
> ('transform' with xsl, or build with js: 'action' ? ),
> then transform and serialise into an xhtml table with
> the svg embedded to meet a required coplet structure.

what about simple xhtml-image-tag pointing to the map:match
which is creating your jpeg (based on a svg) ?
something like this:

in the coplet:
<img src="/mychart.jpg"/>

in the sitemap:
<map:match pattern="graphics/*">
 <map:generate src="yourdata.xml"/>
 <map:transform src="data2svg.xsl"/>
 <map:serialize type="svg2jpeg"/>

* best regards
* Jens Maukisch 

Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message