If I understand the question, then something like:

<ellipse cx="100" cy="50" rx="25" ry="25" stroke="black" fill="white"/>
<ellipse cx="100" cy="50" rx="15" ry="15" stroke="black" fill="white"/>
<ellipse cx="100" cy="50" rx="5" ry="5" stroke="black" fill="white"/>

oughta work -- all ellipses have the same center (100,50); the later ones 
appear on top.

If you really mean n circles (where n is, let's say, user-defined) then 
something a bit more complex might work if JavaScript is part of your 
arsenal:

<svg xmlns="http://www.w3.org/2000/svg";
    xmlns:xlink="http://www.w3.org/1999/xlink";
    width="100%" height="100%"
    onload="startup(evt)"
 >
<script>
<![CDATA[
var q;
function startup(evt){
 q=evt.getTarget().getOwnerDocument() //q is now the SVG document itself
 B=q.getElementById("bunch")
 n=10
 for (i=0;i<n;i++){
  newone=q.createElement("ellipse");
  newone.setAttribute("cx", 300);
  newone.setAttribute("cy", 200);
  newone.setAttribute("rx", 10*(n-i));
  newone.setAttribute("ry", 10*(n-i));
  newone.setAttribute("opacity",.5);
  newone.setAttribute("fill", "white");
  newone.setAttribute("stroke", "black");
  newone.setAttribute("stroke-width", "2");
  B.appendChild(newone);
 }
}

//]]>
</script>
<!--a bull's-eye of n concentric circles-->
<g id="bunch"></g>
</svg>

The above puts an empty group on a page and then when the page loads 
populates that group with circles of vanishing radii.

DD
----- Original Message ----- 
From: "arthycharm" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, October 04, 2005 6:45 AM
Subject: [svg-developers] very urgent


>
> Hai,
>
> I am in need of creating circles within circles.to be more specific i
> have to  create a circle and place inside that circle some n number of
> circles .(imagine pictorially).please give me some suggestions .the
> circles should appear inside the original circle when viewed in svg .
> can anyone suggest some idea.
>
> regards,
> arthy.
>
>
>
>
>
> -----
> To unsubscribe send a message to: 
> [EMAIL PROTECTED]
> -or-
> visit http://groups.yahoo.com/group/svg-developers and click "edit my 
> membership"
> ---- 
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
> 




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/1U_rlB/TM
--------------------------------------------------------------------~-> 

-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to