Replace the element of one xml data with the PASSWORD element of another
package{ import flash.display.Sprite;
public class Main extends Sprite{ public function Main(){ var user1:XML = <USERDETAILS> <LOGIN>joe</LOGIN> <PASSWORD>linuxRules</PASSWORD> </USERDETAILS>;
var user2:XML = <USERDETAILS> <LOGIN>ken</LOGIN> <PASSWORD>default</PASSWORD> </USERDETAILS>;