【发布时间】:2018-10-28 19:34:18
【问题描述】:
我在互联网上有 xml 文件,例如 http://www.w3schools.com/xml/note.xml。我可以在 actionscript 中读取这个 xml 文件。但是我想修改这个 xml,所以我想添加 xml 节点或删除 xml 节点。
例如:
<note>
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</note>
我想添加到我的 xml 笔记的节点中
<example>mynodecontent</example>
后面我要修改,比如我的xml文件上的如下xml
<note>
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
<example>mynodecontent</example>
</note>
有可能吗?
【问题讨论】:
标签: xml actionscript-3 flash xmlhttprequest