W3C home > Mailing lists > Public > www-svg@w3.org > October 2000

Re: Symbol element

From: Josh Zeidner <jmz_phylogenic@hotmail.com>
Date: Thu, 26 Oct 2000 15:11:28 EDT
To: pastorga@fis.utfsm.cl, www-svg@w3c.org
Message-ID: <F174FCHOzyfyz5b6KZm000004e8@hotmail.com>


I have inquired into the use of symbols before and basically, they are not 
supported in the Adobe plug-in as of yet.  I think that generally, this part 
of the specification has yet to be fully defined.

-josh zeidner
http://www.brooklynmedialabs.com


>Hello,
>
>      I'm working in desing svg-simulation pages (for physics
>      experiments) and i have some questions abouts the symbol element
>
>      My questions is:
>         could to use the simbol element for a multiple reference in a
>         <use> statment hopping that the multiple refernce will have
>         diferents descendant?
>
>         For example:
>         <svg....>
>          <defs>
>            ...
>          <symbol id="archetip">
>            ...
>            ...
>            <path id="x1"..... />
>            ...
>            ...
>            <path id="x5"..... />
>
>           <symbol>
>
>          </defs>
>
>          <use id="ref1" xlink:href="#archetip"...>
>          <use id="ref2" xlink:href="#archetip"...>
>          <use id="ref3" xlink:href="#archetip"...>
>
>          ...
>
>
>          <script language="JavaScript1.2"><![CDATA[
>          ...
>             here we gets each ref1 and atributes for manipulations
>             for example:
>
>             var svgref1=document.svg_a.getSVGDocument();
>             // the label for this svg in the html document is svg_a
>             var tick1_from1=svgref1.getElementById ('x1');
>             var tick2_from1=svgref1.getElementById ('x2');
>             ...
>             var tick5_from1=svgref1.getElementById ('x5');
>
>             // and we add modifications ...
>             // we repeat the procedure for the other:
>
>             var svgref2=document.svg_a.getSVGDocument();
>             var tick1_from2=svgref2.getElementById ('x1');
>             var tick1_from2=svgref2.getElementById ('x2');
>
>             // and so on..
>          ...
>          </script>
>
>       If my post was send to the wrong group, please tell me the right
>       people, and if you have a good reference for tutorial (not the
>       Adobe SVG work) could you send me the links?
>
>       Thanks you in advance.
>
>--
>Best regards,
>  Patricio                          mailto:pastorga@mailhost.fis.utfsm.cl
>
>

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.
Received on Thursday, 26 October 2000 15:12:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 5 November 2012 23:52:48 GMT