Я просмотрел некоторые похожие посты на эту тему, но не могу понять, как решить мою проблему. Я думаю, это как-то связано с тем фактом, что сегодня понедельник.
Ну, вот и все. у меня есть объект XML, содержащий:
<root>
<page>
<text>
<style properties=""/>
<label> Text one</label>
</text>
<text>
<style properties=""/>
<label> Text two</label>
</text>
</page>
<page>
<text>
<style properties=""/>
<label> Text three</label>
</text>
<text>
<style properties=""/>
<label> Text four</label>
</text>
</page>
</root>
И я хочу заменить только узел метки новым. я поместил новые в XMLList, но теперь я застрял в том, как я могу заменить фактические узлы Вот как выглядит XMLList:
<page>
<text>
<style properties=""/>
<label> Replace the first one</label>
</text>
<text>
<style properties=""/>
<label> Replace the second one</label>
</text>
</page>
<page>
<text>
<style properties=""/>
<label> Replace the third one</label>
</text>
<text>
<style properties=""/>
<label> Replace the fourth one</label>
</text>
</page>