Thank you. In this article I see removeNode
xmlSets..subject.(@sbjName==subjectCb.selectedLabel).topic.(@topicName==topicCb.selectedLabel).title.(@titleName==titleCb.selectedLabel).removeNode()
does not work the same as delete.

2014-02-12 23:29 GMT+04:00 John R. Sweeney Jr. <jr.swee...@comcast.net>:

> This can help you understand creating and editing. There are many more
> resources out there.
>
> http://www.kirupa.com/web/xml/XMLmanageData3.htm
>
>
>
> John R. Sweeney Jr.
> Senior Interactive Multimedia Developer
> OnDemand Interactive Inc
> Hoffman Estates, IL 60169
>
>
>
>
> On Feb 12, 2014, at 1:01 PM, natalia Vikhtinskaya <natavi.m...@gmail.com>
> wrote:
>
> > Yes, I see that no good solution. I use textField for editing node after
> > selection. But I have problem with deleting node. Maybe you can give me
> > advice.
> > I select this is
> > <title titleName="First Words 1">set1</title>
> >
> > //var node:XMLList;
> > trace(node.childIndex())
> > //0
> >
> > trace(node)
> > set1
> >
> > trace(node.parent())
> > <topic topicName="Reading">
> >  <title titleName="First Words 1">set1</title>
> >  <title titleName="Second Words 1">set2</title>
> > </topic>
> >
> > I can not find way to delete this line that has "set1"
> > <title titleName="First Words 1">set1</title>
> >
> > when I use
> > trace(node.parent().children()[ node.childIndex() ])
> > that delete "set1"
>
> _______________________________________________
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to