Thanks On Fri, Mar 21, 2008 at 3:44 PM, Amy <[EMAIL PROTECTED]> wrote:
> --- In flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com>, > "jeffreyr6915" <[EMAIL PROTECTED]> > wrote: > > > > > Is there a way to delete an xml element from an XML object based on > > the text value of that element? > > > > Example: > > -------- > > <items> > > <item>a<item> > > <item>b<item> > > <item>c<item> > > <items> > > > > I want to delete the element that has the value 'b' resulting in the > > following xml object: > > > > <items> > > <item>a<item> > > <item>c<item> > > <items> > > > > I don't want to use the following because it deletes all the <item> > tags: > > > > delete items.item; > > try delete items.item.(text()=='b'); > > HTH; > > Amy > > >