Hey flexers, I have the following XML in a variable named node of type XML:
<g aah:type="imageGroup" aah:group-id="2" aah:group-type-id="1" opacity="0.5" xmlns="http://www.w3.org/2000/svg" xmlns:aah=" http://aaronhardy.com/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:a="http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/"> <mask id="49e39820-3578-4385-97bf-423c0afb6de2" width="1202.4285143997722" height="709.7050470487598"> <image width="1202.4285143997722" height="338" xlink:href="/images/view/2_w1202.4285143997722h338x600y1014rw289rh81.png" aah:cutx="600" aah:cuty="1014"/> <image width="709.7050470487598" height="338" xlink:href="/images/view/2_w709.7050470487598h338x1600y338rw170rh81.png" transform="matrix(0 1 -1 0 1202.4285143997722 0)" aah:cutx="1600" aah:cuty="338"/> <image width="1202.4285143997722" height="338" xlink:href="/images/view/2_w1202.4285143997722h338x1100y676rw289rh81.png" transform="matrix(-1 0 0 -1 1202.4285143997722 709.7050470487598)" aah:cutx="1100" aah:cuty="676"/> <image width="709.7050470487598" height="338" xlink:href="/images/view/2_w709.7050470487598h338x2300y0rw170rh81.png" transform="matrix(0 -1 1 0 0 709.7050470487598)" aah:cutx="2300" aah:cuty="0"/> </mask> <rect width="1202.4285143997722" height="709.7050470487598" x="0" y="0" fill="#000000" mask="url(#49e39820-3578-4385-97bf-423c0afb6de2)"/> </g> I then do var nodeCopy:XML = node.copy(); and receive the following: <g aaa:type="imageGroup" aaa:group-id="2" aaa:group-type-id="1" opacity="0.5" xmlns="http://www.w3.org/2000/svg" xmlns:aaa=" http://aaronhardy.com/svg"> <mask id="49e39820-3578-4385-97bf-423c0afb6de2" width="1202.4285143997722" height="709.7050470487598"> <image width="1202.4285143997722" height="338" aaa:href="/images/view/2_w1202.4285143997722h338x600y1014rw289rh81.png" aab:cutx="600" aab:cuty="1014" xmlns:aaa="http://www.w3.org/1999/xlink" xmlns:aab="http://aaronhardy.com/svg"/> <image width="709.7050470487598" height="338" aaa:href="/images/view/2_w709.7050470487598h338x1600y338rw170rh81.png" transform="matrix(0 1 -1 0 1202.4285143997722 0)" aab:cutx="1600" aab:cuty="338" xmlns:aaa="http://www.w3.org/1999/xlink" xmlns:aab=" http://aaronhardy.com/svg"/> <image width="1202.4285143997722" height="338" aaa:href="/images/view/2_w1202.4285143997722h338x1100y676rw289rh81.png" transform="matrix(-1 0 0 -1 1202.4285143997722 709.7050470487598)" aab:cutx="1100" aab:cuty="676" xmlns:aaa="http://www.w3.org/1999/xlink" xmlns:aab="http://aaronhardy.com/svg"/> <image width="709.7050470487598" height="338" aaa:href="/images/view/2_w709.7050470487598h338x2300y0rw170rh81.png" transform="matrix(0 -1 1 0 0 709.7050470487598)" aab:cutx="2300" aab:cuty="0" xmlns:aaa="http://www.w3.org/1999/xlink" xmlns:aab=" http://aaronhardy.com/svg"/> </mask> <rect width="1202.4285143997722" height="709.7050470487598" x="0" y="0" fill="#000000" mask="url(#49e39820-3578-4385-97bf-423c0afb6de2)"/> </g> However, if I do var nodeCopy:XML = XML(node.toXMLString()); I get a real-looking copy of my original XML (no aaa or aab namespaces). Can anyone explain why I'm getting the aaa and aab namespaces? In my experience it's had to do with setting a default namespace (in this case xmlns=" http://www.w3.org/2000/svg"). I also know Jesse Warden has seen some weird, similar behavior: http://jessewarden.com/2007/05/flex-chronicles-25-e4x-gotchas.html. Thanks everyone. Aaron

