Re: [svg-developers] Iteration in SVG
SVG has a 'use' element that allows template objects to be referenced
multiple times, with override features for positioning and styling
properties. See http://www.w3.org/TR/SVG/struct.html#UseElement
The SVG language does not support programming per se, but for desktop
browsing environments, it is a conformance requirement that ECMAScript
the same sorts of things that the programming language features of
Adobe Systems Incorporated
At 09:38 AM 8/28/00 -0700, you wrote:
>I'm an SVG newbie, looking for specific capabilities for the kinds of
>graphics I need to draw. One thing I need to do is to define a graphic
>element, then create multiple instances of it in various positions (e.g. at
>regular intervals along an arc - imagine a Japanese fan spread out, with
>each "blade" being an instance of a defined element; now imagine changing
>the number of blades by changing only the iteration count and angle).
>I see nothing in the W3C spec that seems to support this. Could it be done
>somehow, e.g., by scripting? I know I can do it in Postscript, using the
>iteration capabilities of that language.
>Thanks for any information...
>Competitive Knowledge, Inc.