Further, to the original poster, if you want to update the server using xml,
that suggests that xml is also your "read" format. Is that the case?  If so,
you must be converting the xml into an ArrayCollection when you retrieve it,
is that so? (this happens automatically with the default resultFormat)

 

If so, then why not skip the ArrayCollection entirely and work with XML or
XMLListCollection, and avoid the xml generation step on the update?

 

Tracy Spratt,

Lariat Services, development services available

  _____  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of oneworld95
Sent: Friday, March 20, 2009 2:08 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Arraycollection to xml

 

http://nsdevaraj.
<http://nsdevaraj.wordpress.com/2008/08/20/arraycollection-xml/>
wordpress.com/2008/08/20/arraycollection-xml/

(This question's been asked so many times, it should be in an FAQ
somewhere!)

- Alex C

--- In flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.com,
"greg_lafrance" <glafra...@...> wrote:
>
> You could parse the ArrayCollection and build up JSON data, then pass the
data to PHP and convert to XML there.
> 
> --- In flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.com,
venkat eswar <cooleraga@> wrote:
> >
> > Hi all,
> > 
> > 
> > 
> > I am using advanceddatagrid with treestructure. I used Arraycollection
> > as Dataprovider for advanceddatagrid.Now i want to convert the
> > Arraycollection to xml for storing it to database with php as backend.
> > How is it possible. Please help me
> >
>



Reply via email to