RE: SVG Spec. Suggestions

Something else that has just occured to me, correct me if I am wrong.

There are no explicit layer declarations at all.  "Layers" are implied by order in which they are rendered.  In which case I can see potential issues with the way multiple <g> elements are animated.  The example below hardcodes elements between the <g></g> tags, thus there is no way to manipulate an individual member, for example to the change stacking order, and how would you unassociate elements defined by a <g>?

<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20001102//EN" 
<svg width="5cm" height="5cm">
  <desc>Two groups, each of two rectangles
  <g id="group1" style="fill:red">
    <rect x="1cm" y="1cm" width="1cm" height="1cm" />
    <rect x="3cm" y="1cm" width="1cm" height="1cm" />
  <g id="group2" style="fill:blue">
    <rect x="1cm" y="3cm" width="1cm" height="1cm" />
    <rect x="3cm" y="3cm" width="1cm" height="1cm" />

would it not be better to assign an id to an individual element, and then dynamically group and un-group those ids.  Perhaps these restrictions are as a result of an SVG element not being constructed in an implicit timeline?

Just MHO

Neil Stansbury
Field Consultant
Mission Communications
Ph: +44 (0)20 8424 8815
Fx: +44 (0)20 8424 8813

 T e c h n o l o g y  f o r  e B u s i n e s s*
Confidentiality Notice:
This information is intended only for the use of the named 
recipient. Internet communications are not neccesarily 
secure and therefore Mission does not accept legal responsibility
for this message or its contents.  If you are not the intended
recipient, please notify us immediately and then delete this document. 
Do not disclose the contents of this document to any other person, 
nor take any copies.  Violation of this notice may be unlawful.

Received on Monday, 12 February 2001 11:46:13 UTC