Hi Yaroslav.

Yaroslav Bulatov:
> Hi, I'm trying to substitute a different DOM implementation into a
> component rendered by JSVGCanvas, is the right strategy extend that
> class to override "loadSVGDocument" to provide my own DocumentLoader
> which provides my own version of DocumentFactory which in turn returns
> my custom DOM Implementation?

Do you want to just provide some implementations of some elements in the
document (e.g. your XForms elements)?  If so, then you can provide an
instance of org.apache.batik.dom.DomExtension.  See
http://xmlgraphics.apache.org/batik/extendingBatik.html#domExtension for
how to do this.

Cameron

-- 
Cameron McCormack, http://mcc.id.au/
        xmpp:[EMAIL PROTECTED]  ▪  ICQ 26955922  ▪  MSN [EMAIL PROTECTED]

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

Reply via email to