Hi Michael, "Bishop, Michael W. CONTR J9C880" <[EMAIL PROTECTED]> wrote on 03/13/2006 12:36:07 PM:
> This question is probably mostly XML-related, but it does apply to how I? > m using Batik in a whiteboard. I want to communicate SVGDocument changes via > XMPP and I send elements as strings: > When the client receives this data, I want to ?import? that string data as a > Node / SVGElement in the client document. Is there a way to import this data > with the proper namespacing, document ownership, etc., that is required to add > the element information as a proper element? You might want to look at the 'parseXML' method on the Window object. It's a little hard to get to in Java but you could at least look at it's implementation in: batik/bridge/ScriptingEnvironment.java. It actually jumps through more hoops than you are likely to need. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
