Skip to content Skip to sidebar Skip to footer

Javascript: How To Preserve Namespace When Using Xmlserialier.serializetostring()?

I have an SVG element inside HTML document that I'd like to export as text. I know HTML doesn't have namespace hence it doesn't honor one, that is probably why I lose namespace pre

Solution 1:

This is chrome's bug: http://code.google.com/p/chromium/issues/detail?id=88295

For now I have to manually do a search/replace namespaces after calls to serializeToString.

Post a Comment for "Javascript: How To Preserve Namespace When Using Xmlserialier.serializetostring()?"