Heres My XML ...

Code:
<videos>

	 <video_path>flvs/50.Cent.In.Da.Club.flv</video_path>
	 <artist_name>50 Cent feat Slim Shady</artist_name>

	 <video_path>flvs/500.Cent.In.Da.Club.flv</video_path>
	 <artist_name>ddddddddddddddddddady</artist_name>


</videos>

Code:
AddNewsEntry = function(news_xml, title, body){
	var entryNode = news_xml.createElement("entry");
	entryNode.delete myXML.photo[1]; = new Date().toString();
	
	if (title == "") title = "(none)";
	var titleNode = news_xml.createElement("video_path");
	titleNode.attributes.date = new Date().toString();
	var titleText = news_xml.createTextNode(title);
	titleNode.appendChild(titleText);
	entryNode.appendChild(titleNode);
	
	if (body == "") body = "(none)";
	var bodyNode = news_xml.createElement("artist_name");
	var bodyText = news_xml.createTextNode(body);
	bodyNode.appendChild(bodyText);
	entryNode.appendChild(bodyNode);

	if (news_xml.firstChild.hasChildNodes()){
		news_xml.firstChild.insertBefore(entryNode, news_xml.firstChild.firstChild);
	}else news_xml.firstChild.appendChild(entryNode);
	
	while (GetNewsCount(news_xml) > max_news_items){
		news_xml.firstChild.lastChild.removeNode();
	}
}

EditNewsEntry = function(news_xml, node_index, title, body){
	var entry = GetEntry(news_xml, node_index);
	if (title == "" && body == ""){
		entry.removeNode();
		return (0);
	}else{
		if (title == "") title = "(none)";
		if (body == "") body = "(none)";
	}
	entry.attributes.date = new Date().toString();
	var titleTextNode = entry.firstChild.firstChild;
	var bodyTextNode = entry.firstChild.nextSibling.firstChild;
	titleTextNode.nodeValue = title;
	bodyTextNode.nodeValue = body;
}
Above is m action script to add new nodes ...
the problem is when i render the swf and replace the xml..
the xml looks like this


Code:
<videos>

         <entry>
	 <video_path>some.flv</video_path>
	 <artist_name>some artist</artist_name>
         </entry>

</videos>
is thier a way to get rid of this node entry ? ?

pls help meeeeeeeeeeeeeeeee !