Mega Code Archive
Create the XML structure with a string
package{
import flash.display.Sprite;
public class Main extends Sprite{
public function Main(){
var str:String = "username "
+ "111";
// Pass the string to the constructor to create an XML object
var example:XML = new XML( str );
}
}
}