There are lot many articles and solutions available on web related to the xml namespace . Few guide us over how to handle namespace in xml via as3 while rest have provided solution by removing xmlns tag from the xml. But I think, there is better way than removing or filtering the namespace. The solution that I use is very clever one. You might have noticed that to put namespace in xml colon character is used. So keeping this property in mind, I have developed a function to replace all the colons from namespaces only with the underscore character. The code uses regular expression to search the colon character in only namespace. And then replace it with the underscore character. This way all the namespaces are still available and accessible but in the form of attributes. And this is the advantage of converting it into a attributes. /** * @method transmuter * @author Abhishek Kumar */ private function transmuter(data:String):String { var modified:String...
Possible solutions of Impossible problem. Out-of-the-box Ideas. Amazing notes. Unbelievable facts. Simple & easy to follow tips and procedures.