> Script file: script.js
> 
>     <![CDATA[
>         ...
>         function xml () {
>             var tg=document.getElementById("background")
>             var o = tg.nextSibling
>             return "<svg>\n" + child(tg) + "</svg>\n"
>         }
>         ...
>     ]]>
> 
> It is not working for me.

When the ECMAScript code is within a separate file, the CDATA
delimiters shouldn't be used. Just remove the "<![CDATA[" and the
"]]>" from the separate file and it should work as expected.

Hope this helps,

 Helder Magalhães





  However, if the script is inside of svg.svg as
> following:
> 
>   <script type="text/ecmascript">
>     <![CDATA[
>         ...
>         function xml () {
>             var tg=document.getElementById("background")
>             var o = tg.nextSibling
>             return "<svg>\n" + child(tg) + "</svg>\n"
>         }
>         ...
>     ]]>
>   </script>
> 
> it works.  Could some one help?
> 
> Thanks,
> 
> Tak
> 
> 
> [Non-text portions of this message have been removed]
>



------------------------------------

-----
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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> 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