SVG script

Hi all,

I need to read external javascript file, and create javascript inside of SVG document too.
I know how to read external javascript file, or include javascript inside of SVG document, but don't know how to read external javascript file and, at the same time, create javascript inside of SVG?

I tried code like below but this code is giving me an error.

<SVG>
<script xlink:href="outer.js" type="text/ecmascript"><![CDATA[
    //javascript here
    ]]></script>
</SVG>

how can I achieve including internal and external javascript at the same time in one SVG document?

Received on Tuesday, 26 November 2002 22:10:07 UTC