Can you post some sample code coz the code below does
not behave as you mentioned.
private function oncomplete():void{
var xmlListColl:XMLListCollection = new XMLListCollection;
var x:XMLList = < ><p>1</p></>;
xmlListColl.addItem(x);
}
On Sat, Feb 23, 2008 at 7:00 PM, xmwang1982 <[EMAIL PROTECTED]> wrote:
> Hi experts,
>
> that's strange if you append a XMLList object into a XMLListCollection
> object using addItem() method. It automatically add the following XML
> into the XMLList object:
>
> <mx_internal_uid xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> B93F361A-9266-CE11-76D1-467B259373F8
> </mx_internal_uid>
>
> It causes some mistakes. For example, if you are using this
> XMLListCollection object as data provider of a tree, there would be a
> new node for this "mx_internal_uid".
>
> Any idea to avoid this problem? Thanks a lot.
>
>
>