Poking about the net and looking at the way some folks have
serialized an SVG document (given that printnode() is an ASV-ism), I
realized I didn't follow most of the treatments that I found (maybe
I'm too old). So I decided to scribble a wee routine to do it in a
way that I understand.
When I find the attributes associated
with Root=svgDoc.documentElement;, I am a bit surprised to find that
those attributes are a bit different once the same page has loaded in
the two browsers I've looked at.
In Firefox the opening tag for Root looks like this:
<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" onload="startup(evt)">
... just the way I wrote it.
In IE (ASV ) it has been rewritten for me by the browser:
<svg onload="startup(evt)"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid
meet" zoomAndPan="magnify">
I've noticed that Windows sometimes rewrites my code for me in the
HTML world, and never knew quite why (is it really that bad? ... does
this constitute an unauthorized derivative artwork in violation of
Title 17? -- probably not -- the shrinkwrap probably protects me from
worrying about this ... the mind goes on)
perhaps someone here can explain why MS (or is it Adobe?) has chosen
to embellish my code in this way.
It's not an urgent question, just an idle curiosity.
David
-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my
membership"
----
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/