On Fri, 8 Feb 2008 02:31:32 -0800 (PST)
jeremie_76 <[EMAIL PROTECTED]> wrote:

> 
> Hello,
> 
> I have SVG documents with references to another SVG documents (using
> use) and I would like to dynamically change attributes in the
> externals SVG documents.
> 
> When I load the top level svg document, I get the DOM representation
> of it but I only have a reference to a use Element. So is it possible
> with this use Element to dynamically modify the objects attributes in
> the use document (like the fill of a rectangle) ?

For attributes relating to styling, I believe you can use the style
and/or class attributes to modify the style as long as the used
element does not have overriding styles.

I have normally used this by defining a set of style characteristics as
a CSS class and apply them as a group to individual use elements.

G. Wade
-- 
"And so it begins"                                -- Ambassador Kosh

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to