W3C home > Mailing lists > Public > www-svg@w3.org > July 2006

Serialization / deserialization of SVG

From: BBD (sent by Nabble.com) <lists@nabble.com>
Date: Wed, 19 Jul 2006 15:28:00 -0700 (PDT)
Message-ID: <5405750.post@talk.nabble.com>
To: www-svg@w3.org


I am looking for good JavaScript example to serialize / deserialize the SVG
document content to / from XML string. My problem is that if I initialy have
empty SVG document, described in embed as:

<EMBED NAME="someEmbed" TYPE="image/svg+xml"
PLUGINSPAGE="http://www.adobe.com/svg/viewer/install/" HEIGHT="100"
WIDTH="100" />

then access to method "getWindow" in statement:

document.getElementById( "someEmbed" ).getWindow()

is not possible and this possibly is correct. After I load SVG content from
XML, I expect that embed then would already have some window, but this is
not a case -- call to getWindow() still crashes my JavaScript code.


View this message in context: http://www.nabble.com/Serialization---deserialization-of-SVG-tf1969282.html#a5405750
Sent from the w3.org - www-svg forum at Nabble.com.
Received on Wednesday, 19 July 2006 22:28:08 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:08 UTC