I think you can get an xml object from your xmllist and then use XML
methods, most of them returns xmllist.

thomas



2009/4/10 lehaianh1986 <[email protected]>

>
>
> No, I can't use static string. Depend on my data, I will use regexp to sort
> and classify items to some groups (like example I show).
> I think it like a dynamic tree and can be add or edit, etc...
>
> So how do I do to create each element and add to XMLList, then add another
> element to become children of the previous element?
>
>
> --- In [email protected] <flexcoders%40yahoogroups.com>, Alex
> Harui <aha...@...> wrote:
> >
> > Create the equivalent string, then pass that into the constructor of
> XMLList
> >
> > Alex Harui
> > Flex SDK Developer
> > Adobe Systems Inc.<http://www.adobe.com/>
> > Blog: http://blogs.adobe.com/aharui
> >
> > From: [email protected] <flexcoders%40yahoogroups.com> [mailto:
> [email protected] <flexcoders%40yahoogroups.com>] On Behalf Of
> lehaianh1986
> > Sent: Thursday, April 09, 2009 2:33 AM
> > To: [email protected] <flexcoders%40yahoogroups.com>
> > Subject: [flexcoders] Create XML List by code
> >
> >
> >
> >
> >
> > Hi all,
> >
> > I have XMLList like:
> >
> > <mx:XMLList id="treeData">
> > <node label="Mail Box">
> > <node label="Inbox">
> > <node label="Marketing"/>
> > <node label="Product Management"/>
> > <node label="Personal"/>
> > </node>
> > <node label="Outbox">
> > <node label="Professional"/>
> > <node label="Personal"/>
> > </node>
> > <node label="Spam"/>
> > <node label="Sent"/>
> > </node>
> > </mx:XMLList>
> >
> > But I want to create XML List by code, so how do I do?
> >
>
>  
>





-- 
http://www.web-attitude.fr/
msn : [email protected]
softphone : sip:[email protected] <sip%[email protected]>
téléphone portable : +33601 822 056

Reply via email to