0
大家好我有像下面当我们点击保存按钮时如何保存xml标签结果?
<root>
<key>
<Question>Is the color of the car</Question>
<Ans>black?</Ans>
</key>
<key>
<Question>Is the color of the car</Question>
<Ans>black?</Ans>
</key>
<key>
<Question>Is the news paper </Question>
<Ans>wallstreet?</Ans>
</key>
<key>
<Question>fragrance odor</Question>
<Ans>Lavendor?</Ans>
</key>
<key>
<Question>Is the baggage collector available</Question>
<Ans></Ans>
</key>
</root>
显示在屏幕上显示为XML代码:
列表形式 是车黑的颜色吗?复选框 行李收集器是否可用?复选框
如果选中该复选框 - 否则为vlaue为否。 关于保存按钮:我们需要将它保存到一个xml文件
这里我得到的问题与我检查时的答案,但我的问题是如何将检查列表项目保存到XML文件后单击保存按钮给我你解决任何一个人的问题。