hi, filter will be applied only to the "*_listColl*" and it will not reflect in the "value" property of the of the "_dataObj", because you have created a new memory for the collection.
On Thu, Jun 6, 2013 at 6:08 PM, Devesh Mishra <[email protected]>wrote: > Hi,**** > > I am facing one issue regarding data referencing. I have one object having > one key value pair data i.e.**** > > *var _dataObj:Object;* > > *_dataObj[‘value’] = xml;* > > I retrieve data from object and apply a filter over *<PEM>* inside *<COMP> > * tag. I have taken xmlList(all children of xml) from my xml and added > into a xmlListCollection. **** > > *var _listColl:XMLListCollection = new XMLListCollection(xml.children);* > > I have applied a filter on the collection where,**** > > * IsActive = ‘Y’* > > After filter my collection contains only two record, which is correct. By > my expectation is that it should reflect into my _dataObject also. But it’s > not reflecting.**** > > I don’t know why it’s getting deference and not showing filtered data into > _dataObject. **** > > Note: *I have attached the data of xml variable in this email.* > > --**** > > Thanks & Regards,**** > > Devesh Mishra **** > > ** ** > > > MASTEK LTD. > In the US, we're called MAJESCOMASTEK > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Opinions expressed in this e-mail are those of the individual and not that > of Mastek Limited, unless specifically indicated to that effect. Mastek > Limited does not accept any responsibility or liability for it. This e-mail > and attachments (if any) transmitted with it are confidential and/or > privileged and solely for the use of the intended person or entity to which > it is addressed. Any review, re-transmission, dissemination or other use of > or taking of any action in reliance upon this information by persons or > entities other than the intended recipient is prohibited. This e-mail and > its attachments have been scanned for the presence of computer viruses. It > is the responsibility of the recipient to run the virus check on e-mails > and attachments before opening them. If you have received this e-mail in > error, kindly delete this e-mail from desktop and server. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > -- * Regards, S. Jagan Langa*
