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

Using defs declared in different files

From: raj p r <ganarajpr@gmail.com>
Date: Fri, 27 Oct 2006 10:12:15 +0530
Message-ID: <e99a458c0610262142t3d60ba81sc7e49a678cb792f6@mail.gmail.com>
To: www-svg <www-svg@w3.org>
I had this basic doubt about whether we can somehow <use> the <defs>
declared in some other file..... Like we do the same in C++ where we declare
the whole class in a different header file and make use of it and provide
its definitions in another file. Even in javascript we are allowed to do
that like say provide a whole library of functions in a javascript file...
Declare that file at the top of this javascript file and then use the
functions from there....
Similiarly is it possible to use such cases with only SVG! defs and use?
Isnt this a useful feature for UI widgets using SVG!

Ganaraj P R
Received on Friday, 27 October 2006 10:53:36 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:09 UTC