Thomas DeWeese wrote:

> Well it is always required for createElementNS.  Perhaps you
> switched all of your createElement/setAttribute calls to
> createlementNS(svgns,...)/setAttributeNS(svgns,...)  And since
> something suddenly started appearing you lumped the two together?

This sounds pretty likely.

>> I'll go normalize all my code.  If something breaks, I'll report
>> back.

I normalized everything to:

setAttributeNS(null, attribName, attribValue),

and there's no apparent breakage.  Thanks again for that.  So now that
I know my attributes are set correctly, I'll have to look elsewhere
for the solution to my problem (filters not working correctly.)

Does Batik support adding filters to the <defs> section dynamically?
I'm trying to draw using a background image (see
http://elearning.rutgers.edu/~armhold/svg/erase). The filters don't
seem to have any effect in the current canvas.  When the doc is
written out to disk and then re-loaded, it works fine.  PS: although
the example on that page uses SMIL animation, my code is not using
that; I know it's not supported in Batik.

Thanks!

--
George Armhold
Rutgers University
eLearning Grant, DCIS


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



Reply via email to