如何以编程方式完全删除 Flex 中的属性?
我正在尝试 e4x。我可以通过执行以下操作以编程方式向 Xml 添加属性:
xml.@name = 'jerry';
现在我以编程方式向其添加了一个 name 属性,因为即使 xml 没有名为 name 的属性,在上面的语句之后,它现在自动拥有一个属性。 我现在的困难是我如何再次删除以编程方式插入的名称属性?
I am experimenting with e4x. I could programmatically add an attribute to an Xml by doing something like this :
xml.@name = 'jerry';
now i have added a name attribute to it programmatically because even though the xml had no attribute called name, after the statement above, it automatically has one now.
My difficulty now is how do i , as well, remove the name attribute i have inserted programmatically again?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用以下运算符:
Use following operator: