Hi all!

I have a strange problem.
My SVG looks like this:

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd";
[
<!ENTITY ns_svg "http://www.w3.org/2000/svg";>
<!ENTITY ns_xlink "http://www.w3.org/1999/xlink";>
<!ENTITY s0
"fill:#33CCCC;stroke:#1FFFDA;stroke-width:100;stroke-linejoin:round;opacity:0.33;">
<!ENTITY s1
"fill:#CCCCCC;stroke:#FFCCCC;stroke-width:100;stroke-linejoin:round;opacity:0.33;">
...
]>

Later, I just use <path style="&s5;" ../> etc, and it works fine.
But, I want to change one of the elements dinamically, so I call
getURL, after I call parseXML and replaceChild. This also works fine.

The only thing which is not working: parseXML cannot parse the
elements containing references to those elements. In the result of
parseXML those elements are ignored.

Can anybody tell me, what to do? I must use entities, because the SVG
gets HUGE without them.

Thanks.

--
Simon Csaba





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

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