Revision: 42427
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at March 4, 2011 23:42 by darkbaron1912
Initial Code
/** * åå‰ç©ºé–“を削除ã—ã¾ã™ * @param オリジナルストリング(XMLå½¢å¼) * @return namespace宣言をå–り去ã£ãŸXML */ private function deleteNameSpace(xmlText : String) : XML { // remove the namespaces from the string representation of the XML xmlText = xmlText.replace(new RegExp("xmlns[^\"]*\"[^\"]*\"", "gi"), ""); xmlText = xmlText.replace(new RegExp("xsi[^\"]*\"[^\"]*\"", "gi"), ""); // set the string rep. of the XML back to real XML return new XML(xmlText); }
Initial URL
Initial Description
Initial Title
deleteNameSpace XML
Initial Tags
xml
Initial Language
ActionScript 3