leo, tonny, andres,
thanks for your answers,
you'right tonny there are no graphics node associated with the defs elements (that's why i had a null return). i will thus try the leo solution with a dynamic insert of <use>. but, got i to reload the gvt tree, or to reconstruct it? if yes, how? what's your "favorite" method?
i can also try what andres suggest. in that case, i'll have to change the visibility attribute to hidden/visible i guess.In that case too, will the gvt nodes apply the changes?
Is anyone at-his-ease with the DOM/GVT junggle? in particular i'm in pain with the bridge context manipulation.
is the method bind(GraphicsNode, Element) util or necessary to retrieve later my elements?
Remy. |