getting SVG after the script is applied

dao <[email protected]>
Newsgroups gmane.text.xml.batik.user
Message-ID <CAFYdB5oVRH=WkdgNGPCCLReTZsuxeB30weVeD6OyqcGpMtSANQ@mail.gmail.com>
hello,

I have a SVG with a script like below (*the first code*). as you can see,
there is a script that modifies the svg at loading complete.
Is there a way to get the SVG without the script as it is after
flightwatchingInit has been executed (*the result code*)?

*the first code*

<?xml version="1.0" encoding="UTF-8"?>
<svg ... onload=";flightwatchingInit(evt)" >

<text id="theUTC" x="250" y="150">MESSAGE</text>


<script><![CDATA[

function flightwatchingInit() {

elt = document.getElementById("theUTC");

elt.replaceChild(document.createTextNode("02:42:15"), elt.firstChild);

}

]]></script>

</svg>

*the result code*
*

<?xml version="1.0" encoding="UTF-8"?>
<svg ... onload=";flightwatchingInit(evt)" >

*

*

<text id="theUTC" x="250" y="150">02:42:15</text>

*

*

 </svg>

*
-- 
Dao Hodac
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.