I have looked at some of the related posts on this subject but i can't figure out how to solve my problem. I guess it has something to do with the fact that its monday.
Well, here goes. i have a XML object containing:
<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>
And i want to replace only the label node with a new one. i put the new ones in an XMLList but now im stuck at how im supose to replace the actual nodes. This is how the XMLList looks like:
<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>